Fixed most issues from codacy (#3050)

This commit is contained in:
ctrlaltca 2018-01-27 19:31:44 +01:00 committed by Zach H
parent 3c3e6ae68a
commit e127cb74b6
16 changed files with 26 additions and 33 deletions

View file

@ -115,11 +115,6 @@ int main(int argc, char *argv[])
app.setApplicationName("Servatrice");
app.setApplicationVersion(VERSION_STRING);
bool testRandom = false;
bool testHashFunction = false;
bool logToConsole = false;
QString configPath;
QCommandLineParser parser;
parser.addHelpOption();
parser.addVersionOption();
@ -138,10 +133,10 @@ int main(int argc, char *argv[])
parser.process(app);
testRandom = parser.isSet(testRandomOpt);
testHashFunction = parser.isSet(testHashFunctionOpt);
logToConsole = parser.isSet(logToConsoleOpt);
configPath = parser.value(configPathOpt);
bool testRandom = parser.isSet(testRandomOpt);
bool testHashFunction = parser.isSet(testHashFunctionOpt);
bool logToConsole = parser.isSet(logToConsoleOpt);
QString configPath = parser.value(configPathOpt);
qRegisterMetaType<QList<int>>("QList<int>");