src/settingseditor/librarieseditor.cpp

changeset 218
63125c36de73
parent 206
654661eab7f3
child 259
c27612f0eac0
--- a/src/settingseditor/librarieseditor.cpp	Tue Jun 14 17:55:50 2022 +0300
+++ b/src/settingseditor/librarieseditor.cpp	Tue Jun 14 19:50:31 2022 +0300
@@ -4,9 +4,9 @@
 #include "librarieseditor.h"
 #include "ui_librarieseditor.h"
 
-LibrariesEditor::LibrariesEditor(Configuration* settings, QWidget* parent) :
+LibrariesEditor::LibrariesEditor(QWidget* parent) :
 	QWidget{parent},
-	libraries{settings, this},
+	libraries{this},
 	ui{*new Ui_LibrariesEditor}
 {
 	this->ui.setupUi(this);
@@ -144,7 +144,7 @@
 	return this->ui.librariesTable->selectionModel()->currentIndex().row();
 }
 
-void LibrariesEditor::saveSettings(Configuration* settings)
+void LibrariesEditor::saveSettings()
 {
-	this->libraries.storeToSettings(settings);
+	this->libraries.storeToSettings();
 }

mercurial