mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-06 05:12:26 +08:00
Do Not Warn About Missing System Tray
The system tray will be a nice to have. Everything should continue to operate in a satisfactory manner without it. Log the warning but do not interup the user with the message.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user