summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (show 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
@@ -443,6 +443,7 @@ bool OIpkg::executeCommand( OPackage::Command command, const QStringList &parame
443 case OPackage::Update : { 443 case OPackage::Update : {
444 connect( this, SIGNAL(signalIpkgMessage(const QString &)), receiver, slotOutput ); 444 connect( this, SIGNAL(signalIpkgMessage(const QString &)), receiver, slotOutput );
445 ipkg_lists_update( &m_ipkgArgs ); 445 ipkg_lists_update( &m_ipkgArgs );
446 disconnect( this, SIGNAL(signalIpkgMessage(const QString &)), 0, 0 );
446 }; 447 };
447 break; 448 break;
448 case OPackage::Upgrade : { 449 case OPackage::Upgrade : {
@@ -459,6 +460,7 @@ bool OIpkg::executeCommand( OPackage::Command command, const QStringList &parame
459 linkPackageDir( dest->name() ); 460 linkPackageDir( dest->name() );
460 } 461 }
461 delete destList; 462 delete destList;
463 disconnect( this, SIGNAL(signalIpkgMessage(const QString &)), 0, 0 );
462 }; 464 };
463 break; 465 break;
464 case OPackage::Install : { 466 case OPackage::Install : {
@@ -469,6 +471,7 @@ bool OIpkg::executeCommand( OPackage::Command command, const QStringList &parame
469 } 471 }
470 if ( destination != "root" ) 472 if ( destination != "root" )
471 linkPackageDir( destination ); 473 linkPackageDir( destination );
474 disconnect( this, SIGNAL(signalIpkgMessage(const QString &)), 0, 0 );
472 }; 475 };
473 break; 476 break;
474 case OPackage::Remove : { 477 case OPackage::Remove : {
@@ -484,6 +487,7 @@ bool OIpkg::executeCommand( OPackage::Command command, const QStringList &parame
484 } 487 }
485 488
486 delete destList; 489 delete destList;
490 disconnect( this, SIGNAL(signalIpkgMessage(const QString &)), 0, 0 );
487 }; 491 };
488 break; 492 break;
489 case OPackage::Download : { 493 case OPackage::Download : {
@@ -492,16 +496,19 @@ bool OIpkg::executeCommand( OPackage::Command command, const QStringList &parame
492 { 496 {
493 ipkg_packages_download( &m_ipkgArgs, (*it) ); 497 ipkg_packages_download( &m_ipkgArgs, (*it) );
494 } 498 }
499 disconnect( this, SIGNAL(signalIpkgMessage(const QString &)), 0, 0 );
495 }; 500 };
496 break; 501 break;
497 case OPackage::Info : { 502 case OPackage::Info : {
498 connect( this, SIGNAL(signalIpkgStatus(const QString &)), receiver, slotOutput ); 503 connect( this, SIGNAL(signalIpkgStatus(const QString &)), receiver, slotOutput );
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 };
501 break; 507 break;
502 case OPackage::Files : { 508 case OPackage::Files : {
503 connect( this, SIGNAL(signalIpkgList(const QString &)), receiver, slotOutput ); 509 connect( this, SIGNAL(signalIpkgList(const QString &)), receiver, slotOutput );
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 };
506 break; 513 break;
507 default : break; 514 default : break;