From a403df91b7a4f794f95604a28a56644d4c06ab58 Mon Sep 17 00:00:00 2001 From: Elvis Angelaccio Date: Wed, 14 Oct 2020 23:26:05 +0200 Subject: Port to non-deprecated QString::split() variant This requires Qt 5.14, which we now depend on. --- src/views/dolphinremoteencoding.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/views/dolphinremoteencoding.cpp') diff --git a/src/views/dolphinremoteencoding.cpp b/src/views/dolphinremoteencoding.cpp index 4f006df59..fee3db1c1 100644 --- a/src/views/dolphinremoteencoding.cpp +++ b/src/views/dolphinremoteencoding.cpp @@ -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()); -- cgit v1.3