Diffstat (limited to 'noncore/net/networksetup/addconnectionimp.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/networksetup/addconnectionimp.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/noncore/net/networksetup/addconnectionimp.cpp b/noncore/net/networksetup/addconnectionimp.cpp index 53db0fc..07545f7 100644 --- a/noncore/net/networksetup/addconnectionimp.cpp +++ b/noncore/net/networksetup/addconnectionimp.cpp | |||
@@ -17,16 +17,15 @@ AddConnectionImp::AddConnectionImp(QWidget *parent, const char *name, WFlags f): | |||
17 | */ | 17 | */ |
18 | void AddConnectionImp::changed(){ | 18 | void AddConnectionImp::changed(){ |
19 | QListViewItem *item = registeredServicesList->currentItem(); | 19 | QListViewItem *item = registeredServicesList->currentItem(); |
20 | if(item){ | 20 | if(item) |
21 | help->setText(list[item->text(0)]); | 21 | help->setText(list[item->text(0)]); |
22 | } | ||
23 | } | 22 | } |
24 | 23 | ||
25 | /** | 24 | /** |
26 | * Save a copy of newList for the discriptions and append them all to the view | 25 | * Save a copy of newList for the discriptions and append them all to the view |
27 | * @param newList the new list of possible interfaces | 26 | * @param newList the new list of possible interfaces |
28 | */ | 27 | */ |
29 | void AddConnectionImp::addConnections(QMap<QString, QString> newList){ | 28 | void AddConnectionImp::addConnections(const QMap<QString, QString> &newList){ |
30 | list = newList; | 29 | list = newList; |
31 | QMap<QString, QString>::Iterator it; | 30 | QMap<QString, QString>::Iterator it; |
32 | for( it = list.begin(); it != list.end(); ++it ) | 31 | for( it = list.begin(); it != list.end(); ++it ) |