src/main.cpp

changeset 7
68443f5be176
parent 6
73e448b2943d
child 17
a5111f4e6412
--- a/src/main.cpp	Thu Oct 03 23:44:28 2019 +0300
+++ b/src/main.cpp	Sat Oct 05 23:47:03 2019 +0300
@@ -2,9 +2,15 @@
 #include <QDir>
 #include "main.h"
 #include "mainwindow.h"
+#include "version.h"
 
 int main(int argc, char *argv[])
 {
+	QCoreApplication::setApplicationName(::appName);
+	QCoreApplication::setOrganizationName("hecknology.net");
+	QCoreApplication::setOrganizationDomain("hecknology.net");
+	::qRegisterMetaTypeStreamOperators<Library>("Library");
+	::qRegisterMetaTypeStreamOperators<Libraries>("Libraries");
 	QApplication app{argc, argv};
 	MainWindow mainwindow;
 	mainwindow.show();

mercurial