Skip to content

Commit

Permalink
Make fpfssBaseUrl preference optional since Ultimate is missing it
Browse files Browse the repository at this point in the history
  • Loading branch information
oblivioncth committed Jun 29, 2024
1 parent 7224fd5 commit 5c4006e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/include/fp/fp-install.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ class FP_FP_EXPORT Install
{
friend class Toolkit;
//-Class Enums---------------------------------------------------------------------------------------------------
enum class Edition {Ultimate, Infinity, Core};
public:
enum class Edition {Ultimate, Infinity, Core};

//-Class Variables-----------------------------------------------------------------------------------------------
public: // Ugh
Expand Down
2 changes: 1 addition & 1 deletion lib/include/fp/settings/fp-preferences.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ struct FP_FP_EXPORT GameMetadataSource

struct FP_FP_EXPORT Preferences : public Settings
{
QString fpfssBaseUrl;
std::optional<QString> fpfssBaseUrl;
QHash<QString, GameDataSource> gameDataSources;
QHash<QString, GameMetadataSource> gameMetadataSources;
QString imageFolderPath;
Expand Down

0 comments on commit 5c4006e

Please sign in to comment.