Browse Source

Merge pull request #8344 from FranciscoPombal/master

Fixed typo in function name isSplashScreenDisabled()
adaptive-webui-19844
Vladimir Golovnev 7 years ago committed by GitHub
parent
commit
afd2f6ba14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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