15 lines
309 B
C++
15 lines
309 B
C++
#include <QApplication>
|
|
#include "cdpultwindow.h"
|
|
|
|
int main(int argc, char *argv[]) {
|
|
QApplication a(argc, argv);
|
|
#if QT_VERSION >= 0x050000
|
|
a.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
|
|
#endif
|
|
CDPultWindow w;
|
|
w.show();
|
|
if (a.arguments().size() > 1)
|
|
w.loadFile(a.arguments()[1]);
|
|
return a.exec();
|
|
}
|