GREFwTool/source/main.cpp

37 lines
1.3 KiB
C++

/* main.cpp - the main application
This code does minimum setup. The main business logic is in the MainWindow class.
Copyright 2016 Eric A. Cottrell <eric.c.boston@gmail.com>
This file is part of GREFwTool. Source code is available at https://github.com/LinuxSheeple-E/GREFwTool
GREFwTool is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
GREFwTool is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GREFwTool. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QApplication>
#include "include/mainwindow.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
a.setOrganizationName("LinuxSheeple");
a.setOrganizationDomain("linuxsheeple.org");
a.setApplicationName("GREFwTool");
a.setApplicationVersion(APP_VERSION);
MainWindow w;
w.show();
return a.exec();
}