]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Merge branch 'release/21.04' addendum
authorFelix Ernst <fe.a.ernst@gmail.com>
Tue, 22 Jun 2021 12:52:35 +0000 (14:52 +0200)
committerFelix Ernst <fe.a.ernst@gmail.com>
Tue, 22 Jun 2021 12:52:35 +0000 (14:52 +0200)
This should have belonged to my previous merge
480b3067d25e4b49ea55285313a7c10e93f98ffd but somehow I managed to
miss this one line.

It was written by Derek Christ as part of
dc3beae3ab2c55cd3501e17f93b51e93e876a177.

src/dolphincontextmenu.cpp

index 47f0cdd407f7991e2a4bf33f065efac2db334a84..9e152c5d79ff91ef44fb3e0578bed8ad69b904da 100644 (file)
@@ -64,7 +64,7 @@ DolphinContextMenu::DolphinContextMenu(DolphinMainWindow* parent,
     const DolphinView* view = m_mainWindow->activeViewContainer()->view();
     m_selectedItems = view->selectedItems();
 
-    installEventFilter(this);
+    QApplication::instance()->installEventFilter(this);
 
     static_cast<KHamburgerMenu *>(m_mainWindow->actionCollection()->
                 action(QStringLiteral("hamburger_menu")))->addToMenu(this);