diff --git a/main.cpp b/main.cpp index 71a998d34..f27a17474 100644 --- a/main.cpp +++ b/main.cpp @@ -39,6 +39,8 @@ int main(int argc, char **argv) for (i = 1; i < arguments.length(); i++) { QString a = arguments.at(i); + if (a.isEmpty()) + continue; if (a.at(0) == '-') { parse_argument(a.toLocal8Bit().data()); continue;