diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-12-18 02:32:16 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-12-18 02:32:16 +0000 |
commit | 2abe1e6f4022109b1e179242aa9765810d7f680c (patch) | |
tree | 408f52f8bc6e4ae2a1c093439be5404fbbce56be /ark/arkwidget.cpp | |
parent | 2bda8f7717adf28da4af0d34fb82f63d2868c31d (diff) | |
download | tdeutils-2abe1e6f4022109b1e179242aa9765810d7f680c.tar.gz tdeutils-2abe1e6f4022109b1e179242aa9765810d7f680c.zip |
* ark context un[tar/zip/bz] crash repair
* gcc4.4 compilation fixes
* superkaramba xmms sensor addition
* automake updates
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1063396 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ark/arkwidget.cpp')
-rw-r--r-- | ark/arkwidget.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/ark/arkwidget.cpp b/ark/arkwidget.cpp index d0fa3d4..5720317 100644 --- a/ark/arkwidget.cpp +++ b/ark/arkwidget.cpp @@ -117,6 +117,7 @@ ArkWidget::ArkWidget( QWidget *parent, const char *name ) m_bIsSimpleCompressedFile( false ), m_bDropSourceIsSelf( false ), m_extractList( 0 ) { + m_settingsAltered = false; m_tmpDir = new KTempDir( locateLocal( "tmp", "ark" ) ); if ( m_tmpDir->status() != 0 ) @@ -155,12 +156,14 @@ ArkWidget::~ArkWidget() delete m_fileListView; m_fileListView = 0; delete arch; - ArkSettings::writeConfig(); + if (m_settingsAltered) { + ArkSettings::writeConfig(); + } } void ArkWidget::cleanArkTmpDir() { - removeDownloadedFiles(); + removeDownloadedFiles(); if ( m_tmpDir ) { m_tmpDir->unlink(); @@ -2257,6 +2260,8 @@ void ArkWidget::showSettings(){ genPage->konqIntegrationLabel->setText( QString::null ); dialog->show(); + + m_settingsAltered = true; } #include "arkwidget.moc" |