Mercurial > projects > qtd
comparison examples/desktop/systray/main.d @ 157:7c3067c2b803
small issues
author | mandel |
---|---|
date | Tue, 16 Jun 2009 21:31:04 +0000 |
parents | 6d5eeec1d9a1 |
children | 3ea0efe4d31e |
comparison
equal
deleted
inserted
replaced
156:37cf6fd1ee85 | 157:7c3067c2b803 |
---|---|
45 import qt.gui.QApplication; | 45 import qt.gui.QApplication; |
46 import qt.gui.QSystemTrayIcon; | 46 import qt.gui.QSystemTrayIcon; |
47 | 47 |
48 import window; | 48 import window; |
49 | 49 |
50 | |
50 int main(char[][] args) | 51 int main(char[][] args) |
51 { | 52 { |
52 auto app = new QApplication(args); | 53 auto app = new QApplication(args); |
53 | 54 |
54 if (!QSystemTrayIcon.isSystemTrayAvailable()) { | 55 if (!QSystemTrayIcon.isSystemTrayAvailable()) { |