diff -r 30cb5e836736 -r 0abada2a9802 src/settingseditor/librarieseditor.cpp --- a/src/settingseditor/librarieseditor.cpp Sat Feb 01 17:20:10 2020 +0200 +++ b/src/settingseditor/librarieseditor.cpp Sun Feb 02 00:30:48 2020 +0200 @@ -4,7 +4,7 @@ #include "librarieseditor.h" #include "ui_librarieseditor.h" -LibrariesEditor::LibrariesEditor(QSettings* settings, QWidget* parent) : +LibrariesEditor::LibrariesEditor(Configuration* settings, QWidget* parent) : QWidget{parent}, libraries{settings, this}, ui{*new Ui_LibrariesEditor} @@ -145,7 +145,7 @@ return this->ui.librariesTable->selectionModel()->currentIndex().row(); } -void LibrariesEditor::saveSettings(QSettings* settings) +void LibrariesEditor::saveSettings(Configuration* settings) { this->libraries.storeToSettings(settings); }