diff options
| -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 |
