From fa4208cc18bd37bf7defe43a1b4904b43456a429 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 6 Jan 2020 12:33:08 -0800 Subject: [PATCH] code cleanup: remove deprecated QString::null Signed-off-by: Dirk Hohndel --- desktop-widgets/simplewidgets.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop-widgets/simplewidgets.cpp b/desktop-widgets/simplewidgets.cpp index 84fa66271..bba06542f 100644 --- a/desktop-widgets/simplewidgets.cpp +++ b/desktop-widgets/simplewidgets.cpp @@ -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)