Commit d16f8334 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Modernize code

parent 75d15813
Pipeline #41334 skipped
......@@ -93,7 +93,7 @@ static QString selectCharset(KSelectAction *root, const QString &encoding)
}
}
}
return QString();
return {};
}
void CodecAction::setCharset(const QByteArray &charset)
......
......@@ -54,7 +54,7 @@ public:
} else if (column == 1) {
return mInfo.comment();
} else {
return QString();
return {};
}
}
......
......@@ -539,5 +539,5 @@ QString SummaryViewPart::widgetName(QWidget *widget) const
}
}
return QString();
return {};
}
......@@ -37,5 +37,5 @@ QString KMSieveImapPasswordProvider::walletPassword(const QString &identifier)
}
}
return QString();
return {};
}
......@@ -48,7 +48,7 @@ QString UndoStack::undoInfo() const
UndoInfo *info = mStack.first();
return info->moveToTrash ? i18n("Move To Trash") : i18np("Move Message", "Move Messages", info->items.count());
} else {
return QString();
return {};
}
}
......
Markdown is supported
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