]> https://gitweb.dealii.org/ - parameter_gui.git/commitdiff
Use default method for storing settings
authorRene Gassmoeller <rene.gassmoeller@mailbox.org>
Tue, 11 Apr 2017 22:33:14 +0000 (16:33 -0600)
committerRene Gassmoeller <rene.gassmoeller@mailbox.org>
Tue, 11 Apr 2017 22:33:14 +0000 (16:33 -0600)
mainwindow.cpp

index 190b8339043b79b4a48325b9e063d60ba4a72c7c..0d70868689ed99b4e9902b333cd71d0df6397f1d 100644 (file)
@@ -29,11 +29,8 @@ namespace dealii
   {
     MainWindow::MainWindow(const QString  &filename)
     {
-      // a file for user settings
-      QString  settings_file = QDir::currentPath() + "/settings.ini";
-
       // load settings
-      gui_settings = new QSettings (settings_file, QSettings::IniFormat);
+      gui_settings = new QSettings ("deal.II", "parameterGUI");
 
       // tree for showing XML tags
       tree_widget = new QTreeWidget;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.