Revision 1792 trunk/client/gui_qt/mainwindow.cpp
| mainwindow.cpp (revision 1792) | ||
|---|---|---|
| 278 | 278 |
break; |
| 279 | 279 |
}; |
| 280 | 280 |
|
| 281 |
trayIcon.showMessage(title, msg); |
|
| 281 |
showNotification(title, msg); |
|
| 282 | 282 |
} |
| 283 | 283 |
|
| 284 | 284 |
void MainWindow::onSchedularStateChanged(QNNTPGrabGlue::SchedularState state, QString reason) |
| ... | ... | |
| 305 | 305 |
close(); |
| 306 | 306 |
} |
| 307 | 307 |
|
| 308 |
void MainWindow::showNotification(QString title, QString msg) |
|
| 309 |
{
|
|
| 310 |
trayIcon.showMessage(title, msg); |
|
| 311 |
} |
|
| 312 |
|
|
| 308 | 313 |
void MainWindow::setShowNotificationOnFileDownloaded(bool enabled) |
| 309 | 314 |
{
|
| 310 | 315 |
showNotificationOnFileDownloaded = enabled; |
Also available in: Unified diff
NNTPGrab

