Remove unused code into GUI

This commit is contained in:
andrea
2022-07-11 15:10:25 +02:00
committed by Uwe
parent 094ae93678
commit 3018985f80
47 changed files with 14 additions and 1592 deletions

View File

@@ -321,14 +321,7 @@ void DlgPreferencesImp::restoreDefaults()
App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/General")->
SetBool("SaveUserParameter", saveParameter);
#if 0
QList<PreferencePage*> pages = this->findChildren<PreferencePage*>();
for (QList<PreferencePage*>::iterator it = pages.begin(); it != pages.end(); ++it) {
(*it)->loadSettings();
}
#else
reject();
#endif
}
}
@@ -435,7 +428,6 @@ void DlgPreferencesImp::applyChanges()
void DlgPreferencesImp::showEvent(QShowEvent* ev)
{
//canEmbedScrollArea = false;
this->adjustSize();
QDialog::showEvent(ev);
}