1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-20 11:47:46 +00:00

Remove unused hasAccount function from LauncherCore

This commit is contained in:
Joshua Goins 2023-10-11 13:41:22 -04:00
parent 0f07f0aacd
commit 0bec42f836
2 changed files with 0 additions and 8 deletions

View file

@ -59,7 +59,6 @@ class LauncherCore : public QObject
QML_SINGLETON
Q_PROPERTY(bool loadingFinished READ isLoadingFinished NOTIFY loadingFinished)
Q_PROPERTY(bool hasAccount READ hasAccount NOTIFY accountChanged)
Q_PROPERTY(bool isSteam READ isSteam CONSTANT)
Q_PROPERTY(bool isSteamDeck READ isSteamDeck CONSTANT)
Q_PROPERTY(LauncherSettings *settings READ settings CONSTANT)
@ -110,7 +109,6 @@ public:
Q_INVOKABLE CompatibilityToolInstaller *createCompatInstaller();
[[nodiscard]] bool isLoadingFinished() const;
[[nodiscard]] bool hasAccount() const;
[[nodiscard]] bool isSteam() const;
[[nodiscard]] bool isSteamDeck() const;
@ -128,7 +126,6 @@ public:
signals:
void loadingFinished();
void accountChanged();
void successfulLaunch();
void gameClosed();
void loginError(QString message);

View file

@ -507,11 +507,6 @@ bool LauncherCore::isLoadingFinished() const
return m_loadingFinished;
}
bool LauncherCore::hasAccount() const
{
return false;
}
ProfileManager *LauncherCore::profileManager()
{
return m_profileManager;