mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 11:05:33 +08:00
Suppress Qt 5.15 deprecation warnings
This commit is contained in:
@@ -435,7 +435,7 @@ namespace BlackMisc
|
||||
QFileInfo fileInfo(fullPath);
|
||||
|
||||
QStringList dirNames;
|
||||
dirNames.append(relativePath.split('/', QString::SkipEmptyParts));
|
||||
dirNames.append(relativePath.split('/', Qt::SkipEmptyParts));
|
||||
// Replace the first one being the package name with the package root dir
|
||||
QString packageRootDir = package.path.mid(package.path.lastIndexOf('/') + 1);
|
||||
dirNames.replace(0, packageRootDir);
|
||||
@@ -540,7 +540,7 @@ namespace BlackMisc
|
||||
}
|
||||
|
||||
QStringList dirNames;
|
||||
dirNames.append(relativePath.split('/', QString::SkipEmptyParts));
|
||||
dirNames.append(relativePath.split('/', Qt::SkipEmptyParts));
|
||||
// Replace the first one being the package name with the package root dir
|
||||
QString packageRootDir = package.path.mid(package.path.lastIndexOf('/') + 1);
|
||||
dirNames.replace(0, packageRootDir);
|
||||
|
||||
Reference in New Issue
Block a user