Commit 1312394b authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use Qt:: here

parent 3cdf7cb1
Pipeline #197274 passed with stage
in 2 minutes and 30 seconds
......@@ -297,7 +297,7 @@ void FileModel::setupModelData(const QList<QUrl> &files)
foreach (const QUrl &file, files)
{
FileItem *parent = m_rootItem;
QStringList directories = file.toLocalFile().remove(destDirectory).split('/', QString::SkipEmptyParts);
QStringList directories = file.toLocalFile().remove(destDirectory).split('/', Qt::SkipEmptyParts);
FileItem *child = nullptr;
while (directories.count())
{
......@@ -585,7 +585,7 @@ FileItem *FileModel::getItem(const QUrl &file)
QString destDirectory = m_destDirectory.toLocalFile();
FileItem *item = m_rootItem;
QStringList directories = file.toLocalFile().remove(destDirectory).split('/', QString::SkipEmptyParts);
QStringList directories = file.toLocalFile().remove(destDirectory).split('/', Qt::SkipEmptyParts);
while (directories.count())
{
QString part = directories.takeFirst();
......
......@@ -168,7 +168,7 @@ void KGetLinkView::showLinks(const QStringList &links, bool urlRequestVisible)
if (linkitem.contains(QLatin1String("url "), Qt::CaseInsensitive) &&
linkitem.contains(QLatin1String("type "), Qt::CaseInsensitive)) {
const QStringList items = linkitem.split(QLatin1Char(' '), QString::SkipEmptyParts);
const QStringList items = linkitem.split(QLatin1Char(' '), Qt::SkipEmptyParts);
const int count = items.count();
int index = items.indexOf(QLatin1String("url"));
if (index > -1 && index+1 < count)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment