diff --git a/CMakeLists.txt b/CMakeLists.txt index 3d2db44..c67af45 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,7 +13,7 @@ set(CMAKE_USE_RELATIVE_PATHS OFF) set(CMAKE_BUILD_WITH_INSTALL_RPATH ON) # Dependencies -set(QT_MIN_VERSION "5.10.0") +set(QT_MIN_VERSION "5.14.0") set(KF5_MIN_VERSION "5.56") set(BLKID_MIN_VERSION "2.33.2") # PolkitQt5-1 diff --git a/src/core/fstab.cpp b/src/core/fstab.cpp index 16b94fc..196deca 100644 --- a/src/core/fstab.cpp +++ b/src/core/fstab.cpp @@ -72,7 +72,7 @@ FstabEntryList readFstabEntries( const QString& fstabPath ) } QString comment = line.section( QLatin1Char('#'), 1 ); - QStringList splitLine = line.section( QLatin1Char('#'), 0, 0 ).split( QRegularExpression(QStringLiteral("[\\s]+")), QString::SkipEmptyParts ); + QStringList splitLine = line.section( QLatin1Char('#'), 0, 0 ).split( QRegularExpression(QStringLiteral("[\\s]+")), Qt::SkipEmptyParts ); // We now split the standard components of /etc/fstab entry: // (0) path, or UUID, or LABEL, etc, diff --git a/src/core/lvmdevice.cpp b/src/core/lvmdevice.cpp index a1a4639..e9452c0 100644 --- a/src/core/lvmdevice.cpp +++ b/src/core/lvmdevice.cpp @@ -264,7 +264,7 @@ const QStringList LvmDevice::getVGs() QStringList vgList; QString output = getField(QStringLiteral("vg_name")); if (!output.isEmpty()) { - const QStringList vgNameList = output.split(QLatin1Char('\n'), QString::SkipEmptyParts); + const QStringList vgNameList = output.split(QLatin1Char('\n'), Qt::SkipEmptyParts); for (const auto &vgName : vgNameList) { vgList.append(vgName.trimmed()); } @@ -278,7 +278,7 @@ const QStringList LvmDevice::getLVs(const QString& vgName) QString cmdOutput = getField(QStringLiteral("lv_path"), vgName); if (cmdOutput.size()) { - const QStringList tempPathList = cmdOutput.split(QLatin1Char('\n'), QString::SkipEmptyParts); + const QStringList tempPathList = cmdOutput.split(QLatin1Char('\n'), Qt::SkipEmptyParts); for (const auto &lvPath : tempPathList) { lvPathList.append(lvPath.trimmed()); }