From 05d03eec684b250d7c8eab251e9d73c225bb50ce Mon Sep 17 00:00:00 2001 From: AnyOldName3 Date: Sat, 8 Aug 2020 00:17:14 +0100 Subject: 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). --- src/organizerproxy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; }; -- cgit v1.3.1