X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/5360bc3ab328c8b1161b0c5df9c5785829a3e880..8b4d3624ad1be3de678cc5fcaa5a6baa43767914:/src/views/dolphinremoteencoding.cpp diff --git a/src/views/dolphinremoteencoding.cpp b/src/views/dolphinremoteencoding.cpp index 4f006df59..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() @@ -175,7 +175,7 @@ void DolphinRemoteEncoding::slotDefault() // settings here since it affects what will be matched. KConfig config(("kio_" + m_currentURL.scheme() + "rc").toLatin1()); - QStringList partList = m_currentURL.host().split('.', QString::SkipEmptyParts); + QStringList partList = m_currentURL.host().split('.', Qt::SkipEmptyParts); if (!partList.isEmpty()) { partList.erase(partList.begin());