summaryrefslogtreecommitdiff
authordrw <drw>2005-03-22 22:57:07 (UTC)
committer drw <drw>2005-03-22 22:57:07 (UTC)
commit3011e3f1741057b9163c3658a8847c528da5da05 (patch) (unidiff)
treed4ddecfd5073465973cbeb92a3301a3247df5594
parent63d19f6ef6eeeb362323e3301daab03df1588faa (diff)
downloadopie-3011e3f1741057b9163c3658a8847c528da5da05.zip
opie-3011e3f1741057b9163c3658a8847c528da5da05.tar.gz
opie-3011e3f1741057b9163c3658a8847c528da5da05.tar.bz2
Disconnect signals after command executes to prevent bug where messages show up multiple times in install dialog
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/packagemanager/oipkg.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/noncore/settings/packagemanager/oipkg.cpp b/noncore/settings/packagemanager/oipkg.cpp
index 417ee95..127204d 100644
--- a/noncore/settings/packagemanager/oipkg.cpp
+++ b/noncore/settings/packagemanager/oipkg.cpp
@@ -445,2 +445,3 @@ bool OIpkg::executeCommand( OPackage::Command command, const QStringList &parame
445 ipkg_lists_update( &m_ipkgArgs ); 445 ipkg_lists_update( &m_ipkgArgs );
446 disconnect( this, SIGNAL(signalIpkgMessage(const QString &)), 0, 0 );
446 }; 447 };
@@ -461,2 +462,3 @@ bool OIpkg::executeCommand( OPackage::Command command, const QStringList &parame
461 delete destList; 462 delete destList;
463 disconnect( this, SIGNAL(signalIpkgMessage(const QString &)), 0, 0 );
462 }; 464 };
@@ -471,2 +473,3 @@ bool OIpkg::executeCommand( OPackage::Command command, const QStringList &parame
471 linkPackageDir( destination ); 473 linkPackageDir( destination );
474 disconnect( this, SIGNAL(signalIpkgMessage(const QString &)), 0, 0 );
472 }; 475 };
@@ -486,2 +489,3 @@ bool OIpkg::executeCommand( OPackage::Command command, const QStringList &parame
486 delete destList; 489 delete destList;
490 disconnect( this, SIGNAL(signalIpkgMessage(const QString &)), 0, 0 );
487 }; 491 };
@@ -494,2 +498,3 @@ bool OIpkg::executeCommand( OPackage::Command command, const QStringList &parame
494 } 498 }
499 disconnect( this, SIGNAL(signalIpkgMessage(const QString &)), 0, 0 );
495 }; 500 };
@@ -499,2 +504,3 @@ bool OIpkg::executeCommand( OPackage::Command command, const QStringList &parame
499 ipkg_packages_info( &m_ipkgArgs, (*parameters.begin()), &fIpkgStatus, 0l ); 504 ipkg_packages_info( &m_ipkgArgs, (*parameters.begin()), &fIpkgStatus, 0l );
505 disconnect( this, SIGNAL(signalIpkgStatus(const QString &)), 0, 0 );
500 }; 506 };
@@ -504,2 +510,3 @@ bool OIpkg::executeCommand( OPackage::Command command, const QStringList &parame
504 ipkg_package_files( &m_ipkgArgs, (*parameters.begin()), &fIpkgFiles, 0l ); 510 ipkg_package_files( &m_ipkgArgs, (*parameters.begin()), &fIpkgFiles, 0l );
511 disconnect( this, SIGNAL(signalIpkgList(const QString &)), 0, 0 );
505 }; 512 };