Changeset b261e79


Ignore:
Timestamp:
04/03/13 18:54:51 (9 years ago)
Author:
gregor herrmann <gregoa@…>
Branches:
master, qt5
Children:
097e1f4
Parents:
54a377c
Message:

tray icon: add (commented out) debug output and ->hide

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gui/mainwindow.cpp

    r54a377c rb261e79  
    219219void MainWindow::onSystemTrayMessageClicked() {
    220220    // TODO: Hide icon
     221    // systemTrayIcon->hide();
    221222}
    222223
     
    224225void MainWindow::onAlarmTimerTimeout() {
    225226    // TODO: Show Message if an alarm is set on an event that's starting soon and delete the corresponding alarm.
    226     /* Example:
     227    /*
    227228    systemTrayIcon->show();
     229    qDebug() << systemTrayIcon->geometry(); // gets moved to the correct location only at second usage
    228230    systemTrayIcon->showMessage("title", "message", QSystemTrayIcon::Information, 1000);
    229231    QApplication::alert(this);
Note: See TracChangeset for help on using the changeset viewer.