diff options
| author | Jonathan Feenstra <26406078+JonathanFeenstra@users.noreply.github.com> | 2026-02-08 10:08:10 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-08 10:08:10 +0100 |
| commit | 4da0bffeee05c4589ae4d0addc7c695e31669990 (patch) | |
| tree | 9d6c793899935f3687d5df64f4daafcec4ebd36c /src/envshortcut.cpp | |
| parent | a394f02e97ad0bf328fa735cbdbfbe026c03655d (diff) | |
Add instance manager to plugin API (#2335)
Diffstat (limited to 'src/envshortcut.cpp')
| -rw-r--r-- | src/envshortcut.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/envshortcut.cpp b/src/envshortcut.cpp index 204435b7..be696105 100644 --- a/src/envshortcut.cpp +++ b/src/envshortcut.cpp @@ -132,7 +132,7 @@ Shortcut::Shortcut() : m_iconIndex(0) {} Shortcut::Shortcut(const Executable& exe) : Shortcut() { - const auto i = *InstanceManager::singleton().currentInstance(); + const auto& i = *InstanceManager::singleton().currentInstance(); m_name = MOBase::sanitizeFileName(exe.title()); m_target = QFileInfo(qApp->applicationFilePath()).absoluteFilePath(); |
