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

Use KDE_INSTALL_MIMEDIR instead of custom XDG_MIME_INSTALL_DIR

parent 8ff644e0
Pipeline #48396 failed with stage
in 12 minutes and 56 seconds
......@@ -12,11 +12,7 @@ QString PimCommon::AddresseeLineEditUtil::adaptPasteMails(const QString &str)
{
QString newText = str;
// remove newlines in the to-be-pasted string
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
QStringList lines = newText.split(QRegularExpression(QStringLiteral("\r?\n")), QString::SkipEmptyParts);
#else
QStringList lines = newText.split(QRegularExpression(QStringLiteral("\r?\n")), Qt::SkipEmptyParts);
#endif
QStringList::iterator end(lines.end());
for (QStringList::iterator it = lines.begin(); it != end; ++it) {
// remove trailing commas and whitespace
......
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