Don't use instance for accessing static functions

This commit is contained in:
Chocobo1 2023-05-05 02:01:07 +08:00
parent e1be46820b
commit 2059825597
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
4 changed files with 6 additions and 6 deletions

View file

@ -225,7 +225,7 @@ namespace
Application::Application(int &argc, char **argv)
: BaseApplication(argc, argv)
, m_shutdownAct(ShutdownDialogAction::Exit)
, m_commandLineArgs(parseCommandLine(this->arguments()))
, m_commandLineArgs(parseCommandLine(Application::arguments()))
, m_storeFileLoggerEnabled(FILELOGGER_SETTINGS_KEY(u"Enabled"_qs))
, m_storeFileLoggerBackup(FILELOGGER_SETTINGS_KEY(u"Backup"_qs))
, m_storeFileLoggerDeleteOld(FILELOGGER_SETTINGS_KEY(u"DeleteOld"_qs))