-rw-r--r-- | noncore/settings/aqpkg/mainwin.cpp | 19 | ||||
-rw-r--r-- | noncore/settings/aqpkg/mainwin.h | 1 |
2 files changed, 14 insertions, 6 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 | |||
@@ -758,2 +758,3 @@ void MainWindow :: updateServer() | |||
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 ); |
@@ -788,2 +789,3 @@ void MainWindow :: upgradePackages() | |||
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 ); |
@@ -930,2 +932,3 @@ void MainWindow :: downloadRemotePackage() | |||
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 ); |
@@ -969,2 +972,3 @@ void MainWindow :: applyChanges() | |||
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 ); |
@@ -1108,8 +1112,11 @@ void MainWindow :: reloadData( InstallDlgImpl *dlg ) | |||
1108 | #ifdef QWS | 1112 | #ifdef QWS |
1109 | m_status->setText( tr( "Updating Launcher..." ) ); | 1113 | if ( reloadDocuments ) |
1110 | 1114 | { | |
1111 | // Finally let the main system update itself | 1115 | m_status->setText( tr( "Updating Launcher..." ) ); |
1112 | QCopEnvelope e("QPE/System", "linkChanged(QString)"); | 1116 | |
1113 | QString lf = QString::null; | 1117 | // Finally let the main system update itself |
1114 | e << lf; | 1118 | QCopEnvelope e("QPE/System", "linkChanged(QString)"); |
1119 | QString lf = QString::null; | ||
1120 | e << lf; | ||
1121 | } | ||
1115 | #endif | 1122 | #endif |
diff --git a/noncore/settings/aqpkg/mainwin.h b/noncore/settings/aqpkg/mainwin.h index c4548b1..f95c332 100644 --- a/noncore/settings/aqpkg/mainwin.h +++ b/noncore/settings/aqpkg/mainwin.h | |||
@@ -90,2 +90,3 @@ private: | |||
90 | bool downloadEnabled; | 90 | bool downloadEnabled; |
91 | bool reloadDocuments; | ||
91 | 92 | ||