summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/simplewidgets.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-01-06 12:33:08 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-01-10 02:37:03 +0900
commitfa4208cc18bd37bf7defe43a1b4904b43456a429 (patch)
tree682653f36698619826cbfe283c3305b49a702e8b /desktop-widgets/simplewidgets.cpp
parentd2ff40deb899e9203499b7d29710872c81e3198a (diff)
downloadsubsurface-fa4208cc18bd37bf7defe43a1b4904b43456a429.tar.gz
code cleanup: remove deprecated QString::null
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/simplewidgets.cpp')
-rw-r--r--desktop-widgets/simplewidgets.cpp2
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)