diff options
| author | TanninOne <seppleviathan@gmx.de> | 2015-12-04 22:30:35 +0100 |
|---|---|---|
| committer | TanninOne <seppleviathan@gmx.de> | 2015-12-04 22:30:35 +0100 |
| commit | 688e149c96c29d8249c9db416f5773cfc7baad6d (patch) | |
| tree | 3a59b3fce8da8afec776e275aca979681711d4de /src/modinfobackup.cpp | |
| parent | 87d5fe28f6000e7a711fe56aa5e9bedfd89128fb (diff) | |
| parent | d4754f4d3ca7451d784e89ae1ddef240666dfdf8 (diff) | |
Merge pull request #334 from ThosRTanner/issue/308
Allow right click on module to see web link if supplied in fomod
Diffstat (limited to 'src/modinfobackup.cpp')
| -rw-r--r-- | src/modinfobackup.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/modinfobackup.cpp b/src/modinfobackup.cpp new file mode 100644 index 00000000..a57b84fe --- /dev/null +++ b/src/modinfobackup.cpp @@ -0,0 +1,20 @@ +#include "modinfobackup.h" + +std::vector<ModInfo::EFlag> ModInfoBackup::getFlags() const +{ + std::vector<ModInfo::EFlag> result = ModInfoRegular::getFlags(); + result.insert(result.begin(), ModInfo::FLAG_BACKUP); + return result; +} + + +QString ModInfoBackup::getDescription() const +{ + return tr("This is the backup of a mod"); +} + + +ModInfoBackup::ModInfoBackup(const QDir &path, MOShared::DirectoryEntry **directoryStructure) + : ModInfoRegular(path, directoryStructure) +{ +} |
