Browse Source

Fixed typo in function name isSplashScreenDisabled()

adaptive-webui-19844
FranciscoPombal 7 years ago
parent
commit
2ac3004762
  1. 4
      src/gui/optionsdlg.cpp
  2. 2
      src/gui/optionsdlg.h

4
src/gui/optionsdlg.cpp

@ -512,7 +512,7 @@ void OptionsDialog::saveOptions()
pref->setMinimizeToTray(minimizeToTray()); pref->setMinimizeToTray(minimizeToTray());
pref->setStartMinimized(startMinimized()); pref->setStartMinimized(startMinimized());
#endif #endif
pref->setSplashScreenDisabled(isSlashScreenDisabled()); pref->setSplashScreenDisabled(isSplashScreenDisabled());
pref->setConfirmOnExit(m_ui->checkProgramExitConfirm->isChecked()); pref->setConfirmOnExit(m_ui->checkProgramExitConfirm->isChecked());
pref->setDontConfirmAutoExit(!m_ui->checkProgramAutoExitConfirm->isChecked()); pref->setDontConfirmAutoExit(!m_ui->checkProgramAutoExitConfirm->isChecked());
pref->setPreventFromSuspend(preventFromSuspend()); pref->setPreventFromSuspend(preventFromSuspend());
@ -1320,7 +1320,7 @@ void OptionsDialog::enableProxy(int index)
} }
} }
bool OptionsDialog::isSlashScreenDisabled() const bool OptionsDialog::isSplashScreenDisabled() const
{ {
return !m_ui->checkShowSplash->isChecked(); return !m_ui->checkShowSplash->isChecked();
} }

2
src/gui/optionsdlg.h

@ -122,7 +122,7 @@ private:
bool closeToTray() const; bool closeToTray() const;
#endif #endif
bool startMinimized() const; bool startMinimized() const;
bool isSlashScreenDisabled() const; bool isSplashScreenDisabled() const;
bool preventFromSuspend() const; bool preventFromSuspend() const;
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
bool WinStartup() const; bool WinStartup() const;

Loading…
Cancel
Save