Mercurial > projects > qtd
comparison examples/desktop/systray/main.d @ 210:3ea0efe4d31e
fixes for d2.
author | SokoL_SD |
---|---|
date | Tue, 14 Jul 2009 11:25:43 +0000 |
parents | 7c3067c2b803 |
children | 31520b2c0b3c |
comparison
equal
deleted
inserted
replaced
209:3f024154460c | 210:3ea0efe4d31e |
---|---|
46 import qt.gui.QSystemTrayIcon; | 46 import qt.gui.QSystemTrayIcon; |
47 | 47 |
48 import window; | 48 import window; |
49 | 49 |
50 | 50 |
51 int main(char[][] args) | 51 int main(string[] args) |
52 { | 52 { |
53 auto app = new QApplication(args); | 53 auto app = new QApplication(args); |
54 | 54 |
55 if (!QSystemTrayIcon.isSystemTrayAvailable()) { | 55 if (!QSystemTrayIcon.isSystemTrayAvailable()) { |
56 QMessageBox.critical(null, tr("Systray"), tr("I couldn't detect any system tray on this system.")); | 56 QMessageBox.critical(null, tr("Systray"), tr("I couldn't detect any system tray on this system.")); |