diff options
| author | AnyOldName3 <krizdjali+github@gmail.com> | 2020-08-08 00:17:14 +0100 |
|---|---|---|
| committer | AnyOldName3 <krizdjali+github@gmail.com> | 2020-08-08 00:17:14 +0100 |
| commit | 05d03eec684b250d7c8eab251e9d73c225bb50ce (patch) | |
| tree | f9fd377eda9a209b253fa019fb788e18a8453ecc | |
| parent | 592fa7310492392440ee73f4cc0f962c66d5aba7 (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).
| -rw-r--r-- | src/organizerproxy.h | 2 |
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;
};
|
