| 1 | #include "DebuggerForm.h" |
| 2 | #include "Settings.h" |
| 3 | #include <QApplication> |
| 4 | #include <QIcon> |
| 5 | |
| 6 | int main(int argc, char** argv) |
| 7 | { |
| 8 | QApplication app(argc, argv); |
| 9 | // Don't set the icon on OS X, because it will replace the high-res version |
| 10 | // with a lower resolution one, even though openMSX-debugger-logo-256.png is 256x256. |
| 11 | #ifndef __APPLE__ |
| 12 | app.setWindowIcon(QIcon(":icons/openMSX-debugger-logo-256.png")); |
| 13 | #endif |
| 14 | // restore main settings |
| 15 | app.setFont(Settings::get().font(Settings::APP_FONT)); |
| 16 | |
| 17 | DebuggerForm debugger; |
| 18 | debugger.show(); |
| 19 | |
| 20 | return app.exec(); |
| 21 | } |