summaryrefslogtreecommitdiffstats
path: root/installerbuilder/installerbase/installerbase.cpp
diff options
context:
space:
mode:
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);
}