Remove redundant check for the version flag

Just a couple lines above, the application would already exit if the
version option is set. This extra check is not needed.
This commit is contained in:
Gianluca Recchia committed 2018-10-31 14:19:01 +01:00
1 parent 7a823e8dc7
commit e2ee82169c
1 file changed
+1 -1
+1 -1
View File
@@ -88,7 +88,7 @@ int main(int argc, char** argv)
const QStringList fileNames = parser.positionalArguments();
if (app.isAlreadyRunning() && !parser.isSet(versionOption)) {
if (app.isAlreadyRunning()) {
if (!fileNames.isEmpty()) {
app.sendFileNamesToRunningInstance(fileNames);
}