Diffstat (limited to 'noncore/settings/aqpkg/mainwin.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/aqpkg/mainwin.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/noncore/settings/aqpkg/mainwin.cpp b/noncore/settings/aqpkg/mainwin.cpp index 58f6feb..f0e8e48 100644 --- a/noncore/settings/aqpkg/mainwin.cpp +++ b/noncore/settings/aqpkg/mainwin.cpp | |||
@@ -757,4 +757,5 @@ void MainWindow :: updateServer() | |||
757 | tr( "Update lists" ) ); | 757 | tr( "Update lists" ) ); |
758 | connect( dlg, SIGNAL( reloadData( InstallDlgImpl * ) ), this, SLOT( reloadData( InstallDlgImpl * ) ) ); | 758 | connect( dlg, SIGNAL( reloadData( InstallDlgImpl * ) ), this, SLOT( reloadData( InstallDlgImpl * ) ) ); |
759 | reloadDocuments = FALSE; | ||
759 | stack->addWidget( dlg, 3 ); | 760 | stack->addWidget( dlg, 3 ); |
760 | stack->raiseWidget( dlg ); | 761 | stack->raiseWidget( dlg ); |
@@ -787,4 +788,5 @@ void MainWindow :: upgradePackages() | |||
787 | tr ( "Upgrade" ) ); | 788 | tr ( "Upgrade" ) ); |
788 | connect( dlg, SIGNAL( reloadData( InstallDlgImpl * ) ), this, SLOT( reloadData( InstallDlgImpl * ) ) ); | 789 | connect( dlg, SIGNAL( reloadData( InstallDlgImpl * ) ), this, SLOT( reloadData( InstallDlgImpl * ) ) ); |
790 | reloadDocuments = TRUE; | ||
789 | stack->addWidget( dlg, 3 ); | 791 | stack->addWidget( dlg, 3 ); |
790 | stack->raiseWidget( dlg ); | 792 | stack->raiseWidget( dlg ); |
@@ -929,4 +931,5 @@ void MainWindow :: downloadRemotePackage() | |||
929 | InstallDlgImpl *dlg = new InstallDlgImpl( workingPackages, mgr, tr( "Download" ) ); | 931 | InstallDlgImpl *dlg = new InstallDlgImpl( workingPackages, mgr, tr( "Download" ) ); |
930 | connect( dlg, SIGNAL( reloadData( InstallDlgImpl * ) ), this, SLOT( reloadData( InstallDlgImpl * ) ) ); | 932 | connect( dlg, SIGNAL( reloadData( InstallDlgImpl * ) ), this, SLOT( reloadData( InstallDlgImpl * ) ) ); |
933 | reloadDocuments = TRUE; | ||
931 | stack->addWidget( dlg, 3 ); | 934 | stack->addWidget( dlg, 3 ); |
932 | stack->raiseWidget( dlg ); | 935 | stack->raiseWidget( dlg ); |
@@ -968,4 +971,5 @@ void MainWindow :: applyChanges() | |||
968 | InstallDlgImpl *dlg = new InstallDlgImpl( workingPackages, mgr, tr( "Apply changes" ) ); | 971 | InstallDlgImpl *dlg = new InstallDlgImpl( workingPackages, mgr, tr( "Apply changes" ) ); |
969 | connect( dlg, SIGNAL( reloadData( InstallDlgImpl * ) ), this, SLOT( reloadData( InstallDlgImpl * ) ) ); | 972 | connect( dlg, SIGNAL( reloadData( InstallDlgImpl * ) ), this, SLOT( reloadData( InstallDlgImpl * ) ) ); |
973 | reloadDocuments = TRUE; | ||
970 | stack->addWidget( dlg, 3 ); | 974 | stack->addWidget( dlg, 3 ); |
971 | stack->raiseWidget( dlg ); | 975 | stack->raiseWidget( dlg ); |
@@ -1107,4 +1111,6 @@ void MainWindow :: reloadData( InstallDlgImpl *dlg ) | |||
1107 | 1111 | ||
1108 | #ifdef QWS | 1112 | #ifdef QWS |
1113 | if ( reloadDocuments ) | ||
1114 | { | ||
1109 | m_status->setText( tr( "Updating Launcher..." ) ); | 1115 | m_status->setText( tr( "Updating Launcher..." ) ); |
1110 | 1116 | ||
@@ -1113,4 +1119,5 @@ void MainWindow :: reloadData( InstallDlgImpl *dlg ) | |||
1113 | QString lf = QString::null; | 1119 | QString lf = QString::null; |
1114 | e << lf; | 1120 | e << lf; |
1121 | } | ||
1115 | #endif | 1122 | #endif |
1116 | 1123 | ||