diff options
| author | 2020-01-06 12:33:08 -0800 | |
|---|---|---|
| committer | 2020-01-10 02:37:03 +0900 | |
| commit | fa4208cc18bd37bf7defe43a1b4904b43456a429 (patch) | |
| tree | 682653f36698619826cbfe283c3305b49a702e8b | |
| parent | d2ff40deb899e9203499b7d29710872c81e3198a (diff) | |
| download | subsurface-fa4208cc18bd37bf7defe43a1b4904b43456a429.tar.gz | |
code cleanup: remove deprecated QString::null
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
| -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) |