diff options
| author | Mikaƫl Capelle <capelle.mikael@gmail.com> | 2023-07-09 17:36:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-09 17:36:03 +0200 |
| commit | ef94aee28464039672b277243a0181ae93550d6c (patch) | |
| tree | 0575a68af5f154e9d6d0738edbaefb16a11d6f5c /src/modinfoseparator.h | |
| parent | 7d6cb8528d20e36a4cee822263865ee2f7f32481 (diff) | |
| parent | 3de050e9c03e553f7ae3f780f6bd080a30ae123e (diff) | |
Merge pull request #1839 from Holt59/ci/initial-gh-action-for-build
Clang-Format + Github Workflow
Diffstat (limited to 'src/modinfoseparator.h')
| -rw-r--r-- | src/modinfoseparator.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/modinfoseparator.h b/src/modinfoseparator.h index eaff7c42..c34dd92b 100644 --- a/src/modinfoseparator.h +++ b/src/modinfoseparator.h @@ -3,21 +3,19 @@ #include "modinforegular.h" -class ModInfoSeparator: - public ModInfoRegular +class ModInfoSeparator : public ModInfoRegular { Q_OBJECT; friend class ModInfo; public: - virtual bool updateAvailable() const override { return false; } virtual bool updateIgnored() const override { return false; } virtual bool downgradeAvailable() const override { return false; } virtual bool updateNXMInfo() override { return false; } virtual bool isValid() const override { return true; } - //TODO: Fix renaming method to avoid priority reset + // TODO: Fix renaming method to avoid priority reset virtual bool setName(const QString& name); virtual int nexusId() const override { return -1; } @@ -28,7 +26,10 @@ public: virtual bool canBeUpdated() const override { return false; } virtual QDateTime getExpires() const override { return QDateTime(); } virtual bool canBeEnabled() const override { return false; } - virtual std::vector<QString> getIniTweaks() const override { return std::vector<QString>(); } + virtual std::vector<QString> getIniTweaks() const override + { + return std::vector<QString>(); + } virtual std::vector<EFlag> getFlags() const override; virtual int getHighlight() const override; virtual QString getDescription() const override; @@ -46,14 +47,13 @@ public: virtual void setNexusLastModified(QDateTime) override {} virtual QDateTime creationTime() const override { return QDateTime(); } virtual QString getNexusDescription() const override { return QString(); } - virtual void addInstalledFile(int /*modId*/, int /*fileId*/) override { } + virtual void addInstalledFile(int /*modId*/, int /*fileId*/) override {} virtual bool isSeparator() const override { return true; } protected: virtual bool doIsValid() const override { return true; } private: - ModInfoSeparator(const QDir& path, OrganizerCore& core); }; |
