diff options
author | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-04-08 19:04:11 +0200 |
---|---|---|
committer | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-04-08 19:57:44 +0200 |
commit | c562f66872f90825c19912fc184c1abb17bd33f4 (patch) | |
tree | 91bcd2287ab27d696d16bbe47aead9a101bca7ce | |
parent | ffec734edd0dc85ba85d4493abb4b0d62ce3470d (diff) |
controllers/dlgprefcontroller: Remove obsolete method
-rw-r--r-- | src/controllers/dlgprefcontroller.cpp | 10 | ||||
-rw-r--r-- | src/controllers/dlgprefcontroller.h | 1 |
2 files changed, 0 insertions, 11 deletions
diff --git a/src/controllers/dlgprefcontroller.cpp b/src/controllers/dlgprefcontroller.cpp index 19e64b53db..692808518d 100644 --- a/src/controllers/dlgprefcontroller.cpp +++ b/src/controllers/dlgprefcontroller.cpp @@ -374,16 +374,6 @@ void DlgPrefController::slotCancel() { slotShowPreset(m_pController->getPreset()); } -void DlgPrefController::revertPresetChanges() { - if (m_pInputTableModel) { - m_pInputTableModel->cancel(); - } - - if (m_pOutputTableModel) { - m_pOutputTableModel->cancel(); - } -} - void DlgPrefController::applyPresetChanges() { if (m_pInputTableModel) { m_pInputTableModel->apply(); diff --git a/src/controllers/dlgprefcontroller.h b/src/controllers/dlgprefcontroller.h index 2e066357bd..084e46b306 100644 --- a/src/controllers/dlgprefcontroller.h +++ b/src/controllers/dlgprefcontroller.h @@ -72,7 +72,6 @@ class DlgPrefController : public DlgPreferencePage { QString presetForumLink(const ControllerPresetPointer pPreset) const; QString presetWikiLink(const ControllerPresetPointer pPreset) const; QString presetScriptFileLinks(const ControllerPresetPointer pPreset) const; - void revertPresetChanges(); void applyPresetChanges(); void savePreset(); void initTableView(QTableView* pTable); |