diff options
author | kh1 <karsten.heimrich@digia.com> | 2012-10-29 15:25:53 +0100 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@digia.com> | 2012-10-30 10:02:33 +0100 |
commit | a4b9ebec9f2d9bd76be025478ecdae51bba523d2 (patch) | |
tree | 14693df834f6fd63e3737f481e6fb1e95a299ec9 /src/sdk/installerbasecommons.h | |
parent | 0693cfb66dafd9d898d16a7394c7bb22f5ce91da (diff) |
Revert 4ad2fe4d4a4 in favour of a more generic solution.
Task-number: QTIFW-156
Task-number: QTIFW-157
When we disable both package manager and updater radio button,
we will never be able to add a valid repository anymore. Now
use a more generic implementation and print an error message
if we try to access the network without a valid repository.
Change-Id: I27e4a7db96695b8ca32f391f910e455a553cc73e
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Diffstat (limited to 'src/sdk/installerbasecommons.h')
-rw-r--r-- | src/sdk/installerbasecommons.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sdk/installerbasecommons.h b/src/sdk/installerbasecommons.h index f0f0c3d95..086e0c323 100644 --- a/src/sdk/installerbasecommons.h +++ b/src/sdk/installerbasecommons.h @@ -80,6 +80,8 @@ private: void showWidgets(bool show); void callControlScript(const QString &callback); + bool validRepositoriesAvailable() const; + private: bool m_updatesFetched; bool m_updatesCompleted; |