From: Rene Gassmoeller Date: Tue, 11 Apr 2017 22:33:14 +0000 (-0600) Subject: Use default method for storing settings X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12c333836633b87ab830cbe56864c8ce53913749;p=parameter_gui.git Use default method for storing settings --- diff --git a/mainwindow.cpp b/mainwindow.cpp index 190b833..0d70868 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -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;