summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnyOldName3 <krizdjali+github@gmail.com>2020-08-08 00:17:14 +0100
committerAnyOldName3 <krizdjali+github@gmail.com>2020-08-08 00:17:14 +0100
commit05d03eec684b250d7c8eab251e9d73c225bb50ce (patch)
treef9fd377eda9a209b253fa019fb788e18a8453ecc /src
parent592fa7310492392440ee73f4cc0f962c66d5aba7 (diff)
Don't use reference as class member
This particular QString was only ever constructed from a temporary, so it was literally never going to work. We only hadn't noticed this earlier as no one had tried using the mod repository bridge from a plugin before (which is fairly bad given that three people have theoretically tested it while working on its Python bindings in the past).
Diffstat (limited to 'src')
-rw-r--r--src/organizerproxy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/organizerproxy.h b/src/organizerproxy.h
index e64e8838..8950217d 100644
--- a/src/organizerproxy.h
+++ b/src/organizerproxy.h
@@ -65,7 +65,7 @@ private:
OrganizerCore *m_Proxied;
PluginContainer *m_PluginContainer;
- const QString &m_PluginName;
+ QString m_PluginName;
};