diff --git a/src/main.cpp b/src/main.cpp
index ba01477..da2f43e 100755
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright 2014-2016 Markus Prasser
+ * Copyright 2014-2018 Markus Prasser
*
* This file is part of Labcontrol.
*
@@ -17,20 +17,22 @@
* along with Labcontrol. If not, see .
*/
-#include
+#include "mainwindow.h"
+#include "Lib/settings.h"
#include
-#include "mainwindow.h"
-#include "Lib/settings.h"
+#include
-std::unique_ptr< lc::Settings > settings;
+std::unique_ptr settings;
-int main( int argc, char *argv[] ) {
- QApplication a{ argc, argv };
- settings.reset( new lc::Settings{ QSettings{ "Labcontrol", "Labcontrol" } } );
+int main(int argc, char *argv[])
+{
+ QApplication a{argc, argv};
+ settings = std::make_unique(QSettings{"Labcontrol",
+ "Labcontrol"});
lc::MainWindow w;
w.show();
-
+
return a.exec();
}