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}; |