mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-27 08:19:47 -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();
|
const QStringList fileNames = parser.positionalArguments();
|
||||||
|
|
||||||
if (app.isAlreadyRunning() && !parser.isSet(versionOption)) {
|
if (app.isAlreadyRunning()) {
|
||||||
if (!fileNames.isEmpty()) {
|
if (!fileNames.isEmpty()) {
|
||||||
app.sendFileNamesToRunningInstance(fileNames);
|
app.sendFileNamesToRunningInstance(fileNames);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user