src/main.cpp

changeset 284
9266239cf72b
parent 282
f2dc3bbecbfa
child 285
99af8bf63d10
equal deleted inserted replaced
283:96b7eb68e9e6 284:9266239cf72b
400 400
401 int main(int argc, char *argv[]) 401 int main(int argc, char *argv[])
402 { 402 {
403 doQtRegistrations(); 403 doQtRegistrations();
404 QApplication app{argc, argv}; 404 QApplication app{argc, argv};
405 QApplication::setWindowIcon(QIcon{":/icons/appicon.png"});
405 QMainWindow mainWindow; 406 QMainWindow mainWindow;
406 Ui_MainWindow ui; 407 Ui_MainWindow ui;
407 DocumentManager documents; 408 DocumentManager documents;
408 QString currentLanguage = "en"; 409 QString currentLanguage = "en";
409 QTranslator translator{&mainWindow}; 410 QTranslator translator{&mainWindow};

mercurial