Commit b100b296 authored by Laurent Montel's avatar Laurent Montel 😁

QString::split(..., Qt::SplitBehavior, ...) is already in Qt 5.14

parent 16608065
Pipeline #47739 passed with stage
in 12 minutes and 10 seconds
......@@ -28,11 +28,7 @@ NoteUtils::NoteUtils()
bool NoteUtils::sendToMail(QWidget *parent, const QString &title, const QString &message)
{
// get the mail action command
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
const QStringList cmd_list = NoteShared::NoteSharedGlobalConfig::mailAction().split(QLatin1Char(' '), QString::SkipEmptyParts);
#else
const QStringList cmd_list = NoteShared::NoteSharedGlobalConfig::mailAction().split(QLatin1Char(' '), Qt::SkipEmptyParts);
#endif
if (cmd_list.isEmpty()) {
KMessageBox::sorry(parent, i18n("Please configure send mail action."));
return false;
......
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