author | tille <tille> | 2002-05-26 12:17:56 (UTC) |
---|---|---|
committer | tille <tille> | 2002-05-26 12:17:56 (UTC) |
commit | 602e52f454a3d3a5cd973f3d7957d2d96f86464e (patch) (unidiff) | |
tree | eff9aabdbf44804c1dcc42639eaa00fa92dd200c | |
parent | 26eb036407dbade370032dcca6af49d682f0ebf3 (diff) | |
download | opie-602e52f454a3d3a5cd973f3d7957d2d96f86464e.zip opie-602e52f454a3d3a5cd973f3d7957d2d96f86464e.tar.gz opie-602e52f454a3d3a5cd973f3d7957d2d96f86464e.tar.bz2 |
do not close update windows when not successful
-rw-r--r-- | noncore/unsupported/oipkg/mainwindow.cpp | 2 | ||||
-rw-r--r-- | noncore/unsupported/oipkg/package.cpp | 2 | ||||
-rw-r--r-- | noncore/unsupported/oipkg/pmipkg.cpp | 5 |
3 files changed, 5 insertions, 4 deletions
diff --git a/noncore/unsupported/oipkg/mainwindow.cpp b/noncore/unsupported/oipkg/mainwindow.cpp index 9c4c752..27c9f4c 100644 --- a/noncore/unsupported/oipkg/mainwindow.cpp +++ b/noncore/unsupported/oipkg/mainwindow.cpp | |||
@@ -141,3 +141,2 @@ void MainWindow::makeMenu() | |||
141 | label->setBackgroundColor( sectionBar->backgroundColor() ); | 141 | label->setBackgroundColor( sectionBar->backgroundColor() ); |
142 | sectionBar->setStretchableWidget( label ); | ||
143 | section = new QComboBox( false, sectionBar ); | 142 | section = new QComboBox( false, sectionBar ); |
@@ -155,2 +154,3 @@ void MainWindow::makeMenu() | |||
155 | sectionAction->addTo( viewMenu ); | 154 | sectionAction->addTo( viewMenu ); |
155 | sectionBar->setStretchableWidget( section ); | ||
156 | 156 | ||
diff --git a/noncore/unsupported/oipkg/package.cpp b/noncore/unsupported/oipkg/package.cpp index 8c5f0ea..bfb48b3 100644 --- a/noncore/unsupported/oipkg/package.cpp +++ b/noncore/unsupported/oipkg/package.cpp | |||
@@ -52,3 +52,3 @@ Package::Package( QString n, PackageManagerSettings *s ) | |||
52 | }else{ | 52 | }else{ |
53 | pvDebug(2,"remote file: "+n); | 53 | pvDebug(4,"remote file: "+n); |
54 | parseIpkgFile( n ); | 54 | parseIpkgFile( n ); |
diff --git a/noncore/unsupported/oipkg/pmipkg.cpp b/noncore/unsupported/oipkg/pmipkg.cpp index 30777c2..0fa4c61 100644 --- a/noncore/unsupported/oipkg/pmipkg.cpp +++ b/noncore/unsupported/oipkg/pmipkg.cpp | |||
@@ -342,4 +342,5 @@ void PmIpkg::update() | |||
342 | show(); | 342 | show(); |
343 | runIpkg( "update" ); | 343 | if ( runIpkg( "update" ) ) |
344 | runwindow->close(); | 344 | runwindow->close(); |
345 | else out("An error occurred!\nPlease check the log."); | ||
345 | } | 346 | } |