Skip to content

Commit fc47bb8

Browse files
author
Martin Briza
committed
Get rid of the http protocol check
not neccessary
1 parent 6c84630 commit fc47bb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/options.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ void Options::parse(QStringList argv) {
3030
if (argv.contains("--testing"))
3131
testing = true;
3232
if ((index = argv.indexOf("--releasesUrl")) >= 0) {
33-
if (index >= argv.length() - 1 || !argv[index + 1].toLower().startsWith("http"))
33+
if (index >= argv.length() - 1)
3434
printHelp();
3535
else
3636
releasesUrl = argv[index + 1];

0 commit comments

Comments
 (0)