-rw-r--r-- | noncore/net/networksetup/mainwindowimp.cpp | 2 | ||||
-rw-r--r-- | noncore/settings/networksettings/mainwindowimp.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/noncore/net/networksetup/mainwindowimp.cpp b/noncore/net/networksetup/mainwindowimp.cpp index e895971..3715da0 100644 --- a/noncore/net/networksetup/mainwindowimp.cpp +++ b/noncore/net/networksetup/mainwindowimp.cpp | |||
@@ -38,13 +38,13 @@ MainWindowImp::MainWindowImp(QWidget *parent, const char *name) : MainWindow(par | |||
38 | connect(newProfileButton, SIGNAL(clicked()), this, SLOT(addProfile())); | 38 | connect(newProfileButton, SIGNAL(clicked()), this, SLOT(addProfile())); |
39 | connect(removeProfileButton, SIGNAL(clicked()), this, SLOT(removeProfile())); | 39 | connect(removeProfileButton, SIGNAL(clicked()), this, SLOT(removeProfile())); |
40 | connect(setCurrentProfileButton, SIGNAL(clicked()), this, SLOT(changeProfile())); | 40 | connect(setCurrentProfileButton, SIGNAL(clicked()), this, SLOT(changeProfile())); |
41 | 41 | ||
42 | connect(newProfile, SIGNAL(textChanged(const QString&)), this, SLOT(newProfileChanged(const QString&))); | 42 | connect(newProfile, SIGNAL(textChanged(const QString&)), this, SLOT(newProfileChanged(const QString&))); |
43 | // Load connections. | 43 | // Load connections. |
44 | loadModules(QDir::homeDirPath() + "/.networksetup/plugins"); | 44 | loadModules(QPEApplication::qpeDir() + "/plugins/networksetup"); |
45 | getInterfaceList(); | 45 | getInterfaceList(); |
46 | connectionList->header()->hide(); | 46 | connectionList->header()->hide(); |
47 | 47 | ||
48 | 48 | ||
49 | Config cfg("NetworkSetup"); | 49 | Config cfg("NetworkSetup"); |
50 | profiles = QStringList::split(" ", cfg.readEntry("Profiles", "All")); | 50 | profiles = QStringList::split(" ", cfg.readEntry("Profiles", "All")); |
diff --git a/noncore/settings/networksettings/mainwindowimp.cpp b/noncore/settings/networksettings/mainwindowimp.cpp index e895971..3715da0 100644 --- a/noncore/settings/networksettings/mainwindowimp.cpp +++ b/noncore/settings/networksettings/mainwindowimp.cpp | |||
@@ -38,13 +38,13 @@ MainWindowImp::MainWindowImp(QWidget *parent, const char *name) : MainWindow(par | |||
38 | connect(newProfileButton, SIGNAL(clicked()), this, SLOT(addProfile())); | 38 | connect(newProfileButton, SIGNAL(clicked()), this, SLOT(addProfile())); |
39 | connect(removeProfileButton, SIGNAL(clicked()), this, SLOT(removeProfile())); | 39 | connect(removeProfileButton, SIGNAL(clicked()), this, SLOT(removeProfile())); |
40 | connect(setCurrentProfileButton, SIGNAL(clicked()), this, SLOT(changeProfile())); | 40 | connect(setCurrentProfileButton, SIGNAL(clicked()), this, SLOT(changeProfile())); |
41 | 41 | ||
42 | connect(newProfile, SIGNAL(textChanged(const QString&)), this, SLOT(newProfileChanged(const QString&))); | 42 | connect(newProfile, SIGNAL(textChanged(const QString&)), this, SLOT(newProfileChanged(const QString&))); |
43 | // Load connections. | 43 | // Load connections. |
44 | loadModules(QDir::homeDirPath() + "/.networksetup/plugins"); | 44 | loadModules(QPEApplication::qpeDir() + "/plugins/networksetup"); |
45 | getInterfaceList(); | 45 | getInterfaceList(); |
46 | connectionList->header()->hide(); | 46 | connectionList->header()->hide(); |
47 | 47 | ||
48 | 48 | ||
49 | Config cfg("NetworkSetup"); | 49 | Config cfg("NetworkSetup"); |
50 | profiles = QStringList::split(" ", cfg.readEntry("Profiles", "All")); | 50 | profiles = QStringList::split(" ", cfg.readEntry("Profiles", "All")); |