From e670ab0fd8d1c4d96f2be98b58b2018cd5f9b7ee Mon Sep 17 00:00:00 2001 From: dismine Date: Sat, 12 Jul 2014 22:48:05 +0300 Subject: [PATCH] Open all patterns from list of command line arguments. --HG-- branch : develop --- src/app/main.cpp | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/app/main.cpp b/src/app/main.cpp index c2831ec7c..d0fdbb2a9 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -31,6 +31,7 @@ #include #include #include +#include #include "tablewindow.h" #include "version.h" @@ -181,10 +182,16 @@ int main(int argc, char *argv[]) parser.addPositionalArgument("filename", QCoreApplication::translate("main", "Pattern file.")); parser.process(app); const QStringList args = parser.positionalArguments(); - if (args.size() > 0) + for(int i=0;i