diff options
Diffstat (limited to 'desktop-widgets')
-rw-r--r-- | desktop-widgets/simplewidgets.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) |