mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-25 23:39:45 -05:00
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:
parent
7a823e8dc7
commit
e2ee82169c
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user