diff --git a/src/gui/src/main.cpp b/src/gui/src/main.cpp index c01c8f76..73251d52 100644 --- a/src/gui/src/main.cpp +++ b/src/gui/src/main.cpp @@ -16,7 +16,7 @@ * along with this program. If not, see . */ -#define TRAY_RETRY_COUNT 10 +#define TRAY_RETRY_COUNT 5 #define TRAY_RETRY_WAIT 2000 #include "QBarrierApplication.h" @@ -138,8 +138,7 @@ int waitForTray() if (++trayAttempts > TRAY_RETRY_COUNT) { - QMessageBox::critical(NULL, "Barrier", - QObject::tr("System tray is unavailable, don't close your window.")); + fprintf(stdout, "System tray is unavailable.\n"); return false; }