generated from administrator/template_project
clean
This commit is contained in:
+8
-15
@@ -1,19 +1,12 @@
|
||||
//#include "mainwindow.h"
|
||||
|
||||
#include <QApplication>
|
||||
#include <QIcon>
|
||||
#include <QTranslator>
|
||||
#include <qad_locations.h>
|
||||
#include <qad_types.h>
|
||||
#include <pifile.h>
|
||||
#include <pikbdlistener.h>
|
||||
|
||||
|
||||
int main(int argc, char * argv[]) {
|
||||
QApplication a(argc, argv);
|
||||
a.setWindowIcon(QIcon(":/icons/logo.png"));
|
||||
QAD_SETUP_APPLICATION
|
||||
enableHighDPI();
|
||||
QAD::loadTranslations();
|
||||
//MainWindow w;
|
||||
//w.show();
|
||||
return a.exec();
|
||||
PIKbdListener ls;
|
||||
ls.enableExitCapture(PIKbdListener::F10);
|
||||
ls.start();
|
||||
piCout << "started on" << httpaddr;
|
||||
WAIT_FOR_EXIT
|
||||
ls.stopAndWait();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user