summaryrefslogtreecommitdiff
authordrw <drw>2004-01-13 21:46:50 (UTC)
committer drw <drw>2004-01-13 21:46:50 (UTC)
commit4dae04411e1cd75237b89dee6b5d6ba74089505d (patch) (unidiff)
tree1704e1ec9dc235817436568fd9354824c3279a7e
parent4a48472bbe915852ed6eaa66284b8b8c0f3b493d (diff)
downloadopie-4dae04411e1cd75237b89dee6b5d6ba74089505d.zip
opie-4dae04411e1cd75237b89dee6b5d6ba74089505d.tar.gz
opie-4dae04411e1cd75237b89dee6b5d6ba74089505d.tar.bz2
Add .cvsignore and fix sigsev when updating and upgrading
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/packagemanager/.cvsignore3
-rw-r--r--noncore/settings/packagemanager/installdlg.cpp7
2 files changed, 8 insertions, 2 deletions
diff --git a/noncore/settings/packagemanager/.cvsignore b/noncore/settings/packagemanager/.cvsignore
new file mode 100644
index 0000000..4183697
--- a/dev/null
+++ b/noncore/settings/packagemanager/.cvsignore
@@ -0,0 +1,3 @@
1Makefile*
2moc*
3.moc*
diff --git a/noncore/settings/packagemanager/installdlg.cpp b/noncore/settings/packagemanager/installdlg.cpp
index c0c03fc..980d5eb 100644
--- a/noncore/settings/packagemanager/installdlg.cpp
+++ b/noncore/settings/packagemanager/installdlg.cpp
@@ -194,13 +194,13 @@ void InstallDlg::slotDisplayAvailSpace( const QString &destination )
194 long avail = fs.f_bavail * mult / div; 194 long avail = fs.f_bavail * mult / div;
195 195
196 space = tr( "%1 Kb" ).arg( avail ); 196 space = tr( "%1 Kb" ).arg( avail );
197 } 197 }
198 } 198 }
199 199
200 // Display available space (if known) 200 // Display available space
201 m_availSpace->setText( space ); 201 m_availSpace->setText( space );
202} 202}
203 203
204void InstallDlg::slotBtnStart() 204void InstallDlg::slotBtnStart()
205{ 205{
206 QString btnText = m_btnStart->text(); 206 QString btnText = m_btnStart->text();
@@ -224,13 +224,16 @@ void InstallDlg::slotBtnStart()
224 224
225 // Start was clicked, execute first command 225 // Start was clicked, execute first command
226 m_btnOptions->setEnabled( false ); 226 m_btnOptions->setEnabled( false );
227 m_btnStart->setText( tr( "Abort" ) ); 227 m_btnStart->setText( tr( "Abort" ) );
228 m_btnStart->setIconSet( Resource::loadPixmap( "close" ) ); 228 m_btnStart->setIconSet( Resource::loadPixmap( "close" ) );
229 229
230 m_packman->executeCommand( m_command[ 0 ], m_packages[ 0 ], m_destination->currentText(), this, 230 QString dest;
231 if ( m_destination )
232 dest = m_destination->currentText();
233 m_packman->executeCommand( m_command[ 0 ], m_packages[ 0 ], dest, this,
231 SLOT(slotOutput(OProcess*,char*,int)), SLOT(slotErrors(OProcess*,char*,int)), 234 SLOT(slotOutput(OProcess*,char*,int)), SLOT(slotErrors(OProcess*,char*,int)),
232 SLOT(slotFinished(OProcess*)), true ); 235 SLOT(slotFinished(OProcess*)), true );
233} 236}
234 237
235void InstallDlg::slotBtnOptions() 238void InstallDlg::slotBtnOptions()
236{ 239{