diff options
author | Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de> | 2021-07-08 15:56:36 +0200 |
---|---|---|
committer | Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de> | 2021-07-08 15:56:36 +0200 |
commit | c48210243cf5ba597ce4e77d6c19edf4384f473b (patch) | |
tree | 75aee2168a6d274ef2c8ac5e0a54f8998977b97a | |
parent | 36dcf4b27450f04ac60a05cd2837c1b58fd5b24a (diff) | |
download | RWA.Support.DesktopApp-c48210243cf5ba597ce4e77d6c19edf4384f473b.tar.gz RWA.Support.DesktopApp-c48210243cf5ba597ce4e77d6c19edf4384f473b.tar.bz2 RWA.Support.DesktopApp-c48210243cf5ba597ce4e77d6c19edf4384f473b.zip |
qDebug() -> qCritical() on startup lockfile failure.
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 7f86b6d..e02db9a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -60,7 +60,7 @@ int main(int argc, char *argv[]) { qDebug().noquote() << QString("Checking for a lockfile at: '%0'").arg(tmpFilePath); if(!lockFile.tryLock(100)){ - qDebug().noquote() << "You already have this app running.\n" + qCritical().noquote() << "You already have this app running.\n" << "Only one instance is allowed.\n" << "Closing application now with an error."; |