|
|
|
@ -1,3 +1,8 @@
|
|
|
|
|
/*!
|
|
|
|
|
* \file main.cpp
|
|
|
|
|
* \brief Location of the #main-function. Reads QSettings object from `ThinkPink.ini` and resets unique_ptr.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include "mainwindow.hpp"
|
|
|
|
|
|
|
|
|
|
#include <QApplication>
|
|
|
|
@ -35,6 +40,9 @@ void initialise_settings() {
|
|
|
|
|
settings.reset( new QSettings( config_path, QSettings::IniFormat ) );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
* \brief Sets up the #QApplication, then calls #initialise_settings and finally starts the #MainWindow.
|
|
|
|
|
*/
|
|
|
|
|
int main(int argc, char *argv[])
|
|
|
|
|
{
|
|
|
|
|
QApplication a(argc, argv);
|
|
|
|
|