Skip to content

Commit

Permalink
Fix typo in appsupport
Browse files Browse the repository at this point in the history
  • Loading branch information
rodlie committed Nov 10, 2023
1 parent b8a2a54 commit 708a5b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/core/appsupport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -447,9 +447,9 @@ bool AppSupport::removeFpsPreset(const double value)
return true;
}

QPair<int, int> AppSupport::getFpsPresetStatus()
QPair<bool, bool> AppSupport::getFpsPresetStatus()
{
QPair<int, int> status;
QPair<bool, bool> status;
QSettings settings;
settings.beginGroup("presets");
status.first = settings.value("EnableFPS").toBool();
Expand Down Expand Up @@ -532,9 +532,9 @@ bool AppSupport::removeResolutionPreset(const int w,
return true;
}

QPair<int, int> AppSupport::getResolutionPresetStatus()
QPair<bool, bool> AppSupport::getResolutionPresetStatus()
{
QPair<int, int> status;
QPair<bool, bool> status;
QSettings settings;
settings.beginGroup("presets");
status.first = settings.value("EnableResolutions").toBool();
Expand Down
4 changes: 2 additions & 2 deletions src/core/appsupport.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,13 @@ class CORE_EXPORT AppSupport : public QObject
static void saveFpsPresets(const QStringList &presets);
static void saveFpsPreset(const double value);
static bool removeFpsPreset(const double value);
static QPair<int, int> getFpsPresetStatus();
static QPair<bool, bool> getFpsPresetStatus();
static const QStringList getResolutionPresetsList();
static const QList<QPair<int, int>> getResolutionPresets();
static void saveResolutionPresets(const QList<QPair<int, int>> &presets);
static void saveResolutionPreset(const int w, const int h);
static bool removeResolutionPreset(const int w, const int h);
static QPair<int, int> getResolutionPresetStatus();
static QPair<bool, bool> getResolutionPresetStatus();
};

#endif // APPSUPPORT_H

0 comments on commit 708a5b9

Please sign in to comment.