summaryrefslogtreecommitdiff
path: root/src/modinforegular.cpp
diff options
context:
space:
mode:
authorAl <26797547+Al12rs@users.noreply.github.com>2020-05-20 13:05:02 +0200
committerGitHub <noreply@github.com>2020-05-20 13:05:02 +0200
commitb7110cba2dceb172bf6a903f1c5de5ff1c460f11 (patch)
treeee3be3be522842c6ef42c14d48c822fa657333c9 /src/modinforegular.cpp
parentc214b67ae784537d696a53c8cae00676eefd3841 (diff)
parentc391c2b584a309f64f87dd5e00b0083279e6211c (diff)
Merge pull request #1066 from Holt59/new-filetree
Update for the new file tree implementation and minor fixes
Diffstat (limited to 'src/modinforegular.cpp')
-rw-r--r--src/modinforegular.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modinforegular.cpp b/src/modinforegular.cpp
index 3cff914a..a1ef5701 100644
--- a/src/modinforegular.cpp
+++ b/src/modinforegular.cpp
@@ -29,6 +29,7 @@ ModInfoRegular::ModInfoRegular(PluginContainer *pluginContainer, const IPluginGa
, m_Name(path.dirName())
, m_Path(path.absolutePath())
, m_Repository()
+ , m_GamePlugin(game)
, m_GameName(game->gameShortName())
, m_IsAlternate(false)
, m_Converted(false)
@@ -467,7 +468,7 @@ void ModInfoRegular::setNotes(const QString &notes)
m_MetaInfoChanged = true;
}
-void ModInfoRegular::setGameName(const QString &gameName)
+void ModInfoRegular::setGameName(const QString& gameName)
{
m_GameName = gameName;
m_MetaInfoChanged = true;
@@ -556,7 +557,7 @@ void ModInfoRegular::setColor(QColor color)
m_MetaInfoChanged = true;
}
-QColor ModInfoRegular::getColor()
+QColor ModInfoRegular::getColor() const
{
return m_Color;
}