diff options
author | kh1 <karsten.heimrich@nokia.com> | 2011-11-15 12:37:01 +0100 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@nokia.com> | 2011-11-15 14:54:00 +0100 |
commit | d48cb97ba1b1179ce314d6ab190a7379f802465a (patch) | |
tree | 21ed68e872ef7f1eef8fad1d276786af8ac50348 /installerbuilder/common/repository.h | |
parent | 2023eb987e50bdf751c444c3a86e36aad72efc5d (diff) |
Use QSet throughout the whole code, saves us QList conversions.
Remove default parameter from Repo ctor, lead already to confusion.
Also add some more specific {get/set} repo functions, to be able to
distinguish between the different kind of repositories (needed for
setting dialog).
Change-Id: I2c1e4d5377799f54e408a89785bdc5f01619f846
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com>
Diffstat (limited to 'installerbuilder/common/repository.h')
-rw-r--r-- | installerbuilder/common/repository.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/installerbuilder/common/repository.h b/installerbuilder/common/repository.h index d6e90d094..a2c77f4e0 100644 --- a/installerbuilder/common/repository.h +++ b/installerbuilder/common/repository.h @@ -44,7 +44,7 @@ class INSTALLER_EXPORT Repository public: explicit Repository(); Repository(const Repository &other); - explicit Repository(const QUrl &url, bool isDefault = true); + explicit Repository(const QUrl &url, bool isDefault); bool isValid() const; bool isDefault() const; |