src/main.cpp

Sun, 03 Nov 2019 18:09:47 +0200

author
Teemu Piippo <teemu@hecknology.net>
date
Sun, 03 Nov 2019 18:09:47 +0200
changeset 13
6e838748867b
parent 7
68443f5be176
child 17
a5111f4e6412
permissions
-rw-r--r--

renamings

#include <QApplication>
#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();
	return app.exec();
}

mercurial