Skip to content

Commit

Permalink
Removed QMessageBox error message when another instance is already ru…
Browse files Browse the repository at this point in the history
…nning.
  • Loading branch information
michaelnpsp committed Jun 28, 2020
1 parent a642b7c commit 698a019
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ int main(int argc, char *argv[])

RunGuard guard("WifiMouseServer");
if( !guard.tryToRun() ) {
QMessageBox error;
error.setText("Another instance of WifiMouseServer is already running.");
error.exec();
// QMessageBox error;
// error.setText("Another instance of WifiMouseServer is already running.");
// error.exec();
qInfo() << "Another instance of WifiMouseServer is already running.";
return 0;
}

Expand Down

0 comments on commit 698a019

Please sign in to comment.