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:
parent
0a56cdbca0
commit
79c08baf43
|
@ -138,8 +138,7 @@ int waitForTray()
|
||||||
|
|
||||||
if (++trayAttempts > TRAY_RETRY_COUNT)
|
if (++trayAttempts > TRAY_RETRY_COUNT)
|
||||||
{
|
{
|
||||||
QMessageBox::critical(NULL, "Barrier",
|
fprintf(stdout, "System tray is unavailable.\n");
|
||||||
QObject::tr("System tray is unavailable, don't close your window."));
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue