diff options
| author | David Hurka <[email protected]> | 2020-12-06 18:47:07 +0000 |
|---|---|---|
| committer | David Hurka <[email protected]> | 2021-07-04 15:26:18 +0200 |
| commit | fb210d6ec42f1a8fb301c187ca09c4e7647459ef (patch) | |
| tree | 170fc263295bf15d1470a12acf02ee9ccb0035a0 /src/views/dolphinremoteencoding.cpp | |
| parent | edd0034a5ee376e357fc37ff55b9f7e09356fee1 (diff) | |
Port to new KActionMenu popup mode API
Use KActionMenu and KToolBarPopupAction::setPopupMode()
methods instead of setDelayed() and setStickyMenu().
Are available since KF 5.77 and KF 5.78 respectively,
which is already required by Dolphin.
Diffstat (limited to 'src/views/dolphinremoteencoding.cpp')
| -rw-r--r-- | src/views/dolphinremoteencoding.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/dolphinremoteencoding.cpp b/src/views/dolphinremoteencoding.cpp index fee3db1c1..41b3b6890 100644 --- a/src/views/dolphinremoteencoding.cpp +++ b/src/views/dolphinremoteencoding.cpp @@ -41,7 +41,7 @@ DolphinRemoteEncoding::DolphinRemoteEncoding(QObject* parent, DolphinViewActionH this, &DolphinRemoteEncoding::slotAboutToShow); m_menu->setEnabled(false); - m_menu->setDelayed(false); + m_menu->setPopupMode(QToolButton::InstantPopup); } DolphinRemoteEncoding::~DolphinRemoteEncoding() |
