code cleanup: remove deprecated QString::null

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2020-01-06 12:33:08 -08:00
parent d2ff40deb8
commit fa4208cc18

View file

@ -634,7 +634,7 @@ QString TextHyperlinkEventFilter::tryToFormulateUrl(QTextCursor *cursor)
maybeUrlStr = left + right;
}
return stringMeetsOurUrlRequirements(maybeUrlStr) ? maybeUrlStr : QString::null;
return stringMeetsOurUrlRequirements(maybeUrlStr) ? maybeUrlStr : QString();
}
QString TextHyperlinkEventFilter::fromCursorTilWhitespace(QTextCursor *cursor, const bool searchBackwards)