Fix missing save qsetting parameter

This commit is contained in:
manongjohn 2023-02-25 23:36:02 -05:00
parent ce3941f894
commit 6d84f93ac5
2 changed files with 3 additions and 2 deletions

View file

@ -97,7 +97,8 @@ public:
int geCurrentPageIndex() { return m_currentIndexPage; }
// SaveLoadQSettings
virtual void save(QSettings &settings) const override;
virtual void save(QSettings &settings,
bool forPopupIni = false) const override;
virtual void load(QSettings &settings) override;
protected:

View file

@ -310,7 +310,7 @@ void PaletteViewer::updateView() {
//-----------------------------------------------------------------------------
void PaletteViewer::save(QSettings &settings) const {
void PaletteViewer::save(QSettings &settings, bool forPopupIni) const {
int visibleParts = m_toolbarVisibleOtherParts;
if (m_visibleKeysAction->isChecked()) visibleParts |= 0x01;
// if (m_visibleNewAction->isChecked()) visibleParts |= 0x02;