Show initial notification without icon.

This commit is contained in:
Martin Rotter 2015-06-30 06:37:22 +02:00
parent 7b15e568aa
commit 1d8c9a2545

View File

@ -132,8 +132,7 @@ int main(int argc, char *argv[]) {
// Setup single-instance behavior.
QObject::connect(&application, SIGNAL(messageReceived(QString)), &application, SLOT(processExecutionMessage(QString)));
qApp->showGuiMessage(QSL(APP_NAME), QObject::tr("Welcome to %1 %2.").arg(APP_NAME, APP_VERSION), QSystemTrayIcon::Information,
NULL, false, qApp->icons()->fromTheme(APP_LOW_NAME));
qApp->showGuiMessage(QSL(APP_NAME), QObject::tr("Welcome to %1 %2.").arg(APP_NAME, APP_VERSION), QSystemTrayIcon::NoIcon);
// Enter global event loop.
return Application::exec();