1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-02-03 10:25:02 +00:00

Merge pull request #8344 from FranciscoPombal/master

Fixed typo in function name isSplashScreenDisabled()
This commit is contained in:
Vladimir Golovnev 2018-02-16 09:55:37 +03:00 committed by GitHub
commit afd2f6ba14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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();
} }

View File

@ -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;