author | tille <tille> | 2002-05-12 09:32:43 (UTC) |
---|---|---|
committer | tille <tille> | 2002-05-12 09:32:43 (UTC) |
commit | 6f5ac2fbf69f019cc9d3a1522fc507c6b88d2bd6 (patch) (unidiff) | |
tree | c584a13cb4b70f007435731b63c0f0c5e6d5460c /noncore/unsupported/oipkg/mainwindow.cpp | |
parent | 93eca505676b623407259bccf802e2069708dc36 (diff) | |
download | opie-6f5ac2fbf69f019cc9d3a1522fc507c6b88d2bd6.zip opie-6f5ac2fbf69f019cc9d3a1522fc507c6b88d2bd6.tar.gz opie-6f5ac2fbf69f019cc9d3a1522fc507c6b88d2bd6.tar.bz2 |
fixed mem leak
Diffstat (limited to 'noncore/unsupported/oipkg/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/mainwindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/unsupported/oipkg/mainwindow.cpp b/noncore/unsupported/oipkg/mainwindow.cpp index 2fa91e3..19a1420 100644 --- a/noncore/unsupported/oipkg/mainwindow.cpp +++ b/noncore/unsupported/oipkg/mainwindow.cpp | |||
@@ -89,13 +89,14 @@ void MainWindow::makeMenu() | |||
89 | toolBar->setHorizontalStretchable( true ); | 89 | toolBar->setHorizontalStretchable( true ); |
90 | menuBar->insertItem( tr( "Package" ), srvMenu ); | 90 | menuBar->insertItem( tr( "Package" ), srvMenu ); |
91 | menuBar->insertItem( tr( "View" ), viewMenu ); | 91 | menuBar->insertItem( tr( "View" ), viewMenu ); |
92 | menuBar->insertItem( tr( "Settings" ), cfgMenu ); | 92 | menuBar->insertItem( tr( "Settings" ), cfgMenu ); |
93 | // menuBar->insertItem( tr( "Sections" ), sectMenu ); | 93 | // menuBar->insertItem( tr( "Sections" ), sectMenu ); |
94 | 94 | ||
95 | QLabel *spacer = new QLabel( "", toolBar ); | 95 | QLabel *spacer; |
96 | // spacer = new QLabel( "", toolBar ); | ||
96 | // spacer->setBackgroundColor( toolBar->backgroundColor() ); | 97 | // spacer->setBackgroundColor( toolBar->backgroundColor() ); |
97 | // toolBar->setStretchableWidget( spacer ); | 98 | // toolBar->setStretchableWidget( spacer ); |
98 | 99 | ||
99 | 100 | ||
100 | runAction = new QAction( tr( "Apply" ), | 101 | runAction = new QAction( tr( "Apply" ), |
101 | Resource::loadPixmap( "oipkg/install" ), | 102 | Resource::loadPixmap( "oipkg/install" ), |