summaryrefslogtreecommitdiffstats
path: root/installerbuilder/installerbase/installerbase.cpp
diff options
context:
space:
mode:
authorkh1 <qt-info@nokia.com>2011-05-09 14:07:01 +0200
committerkh1 <qt-info@nokia.com>2011-05-09 14:07:01 +0200
commit9cdc4b7db42bb097e486d1e57d969b80bc866b71 (patch)
treebb5fb89846bcaf010ff0f595e6785ac396a45b69 /installerbuilder/installerbase/installerbase.cpp
parent8fdcd81bc1bb987f0d3065e2e38883709ace2a80 (diff)
Repositories are always "required" now.
Diffstat (limited to 'installerbuilder/installerbase/installerbase.cpp')
-rw-r--r--installerbuilder/installerbase/installerbase.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/installerbuilder/installerbase/installerbase.cpp b/installerbuilder/installerbase/installerbase.cpp
index d8231e9b0..2eb673616 100644
--- a/installerbuilder/installerbase/installerbase.cpp
+++ b/installerbuilder/installerbase/installerbase.cpp
@@ -258,9 +258,7 @@ int main(int argc, char *argv[])
QStringList items = args.at(i).split(QLatin1Char(','));
foreach(const QString &item, items) {
verbose() << "Adding custom repository:" << item << std::endl;
- Repository rep;
- rep.setUrl(item);
- rep.setRequired(true);
+ Repository rep(item);
repoList.append(rep);
}