author | benmeyer <benmeyer> | 2002-10-24 20:59:43 (UTC) |
---|---|---|
committer | benmeyer <benmeyer> | 2002-10-24 20:59:43 (UTC) |
commit | 34df819184611874d6f42516a63fb1f6c253fdd3 (patch) (unidiff) | |
tree | 07450559dfbe69cfefc68abacdd0875bd2e20d94 /noncore/net/networksetup/mainwindowimp.cpp | |
parent | 83bbc4077376e433f40f2632181a97e5ff8892b1 (diff) | |
download | opie-34df819184611874d6f42516a63fb1f6c253fdd3.zip opie-34df819184611874d6f42516a63fb1f6c253fdd3.tar.gz opie-34df819184611874d6f42516a63fb1f6c253fdd3.tar.bz2 |
bug fix cleanup
Diffstat (limited to 'noncore/net/networksetup/mainwindowimp.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/networksetup/mainwindowimp.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/noncore/net/networksetup/mainwindowimp.cpp b/noncore/net/networksetup/mainwindowimp.cpp index 4a088cb..f9ca83b 100644 --- a/noncore/net/networksetup/mainwindowimp.cpp +++ b/noncore/net/networksetup/mainwindowimp.cpp | |||
@@ -78,7 +78,6 @@ MainWindowImp::MainWindowImp(QWidget *parent, const char *name) : MainWindow(par | |||
78 | * Deconstructor. Save profiles. Delete loaded libraries. | 78 | * Deconstructor. Save profiles. Delete loaded libraries. |
79 | */ | 79 | */ |
80 | MainWindowImp::~MainWindowImp(){ | 80 | MainWindowImp::~MainWindowImp(){ |
81 | qDebug("Deleting main window"); | ||
82 | // Save profiles. | 81 | // Save profiles. |
83 | Config cfg("NetworkSetup"); | 82 | Config cfg("NetworkSetup"); |
84 | cfg.setGroup("General"); | 83 | cfg.setGroup("General"); |
@@ -95,9 +94,9 @@ MainWindowImp::~MainWindowImp(){ | |||
95 | QMap<Module*, QLibrary*>::Iterator it; | 94 | QMap<Module*, QLibrary*>::Iterator it; |
96 | for( it = libraries.begin(); it != libraries.end(); ++it ){ | 95 | for( it = libraries.begin(); it != libraries.end(); ++it ){ |
97 | delete it.key(); | 96 | delete it.key(); |
97 | // I wonder why I can't delete the libraries | ||
98 | //delete it.data(); | 98 | //delete it.data(); |
99 | } | 99 | } |
100 | qDebug("Done deleting main window"); | ||
101 | } | 100 | } |
102 | 101 | ||
103 | /** | 102 | /** |