diff options
| author | Chris Bessent <lost.dragonist@gmail.com> | 2022-01-23 11:33:01 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-23 11:33:01 -0700 |
| commit | 25cdbe3918d911074f1f556b63bdd305554da22a (patch) | |
| tree | e81828e0b12a30745d68fd2059b1e5f307d9c0c6 /src/pluginlistview.cpp | |
| parent | 3b1ee9d43bdf09cda7830322e8be4f2a408978b1 (diff) | |
| parent | da4a013590d89de8aa26551733deb04a4a629e19 (diff) | |
Merge pull request #1654 from LostDragonist/loadorder
Loadorder
Diffstat (limited to 'src/pluginlistview.cpp')
| -rw-r--r-- | src/pluginlistview.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pluginlistview.cpp b/src/pluginlistview.cpp index e27d7e66..6e0e8f93 100644 --- a/src/pluginlistview.cpp +++ b/src/pluginlistview.cpp @@ -305,8 +305,7 @@ bool PluginListView::toggleSelectionState() bool PluginListView::event(QEvent* event) { - auto* profile = m_core->currentProfile(); - if (event->type() == QEvent::KeyPress && profile) { + if (event->type() == QEvent::KeyPress) { QKeyEvent* keyEvent = static_cast<QKeyEvent*>(event); if (keyEvent->modifiers() == Qt::ControlModifier |
