mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-07 19:13:23 +00:00
code cleanup: remove deprecated QString::null
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
d2ff40deb8
commit
fa4208cc18
1 changed files with 1 additions and 1 deletions
|
@ -634,7 +634,7 @@ QString TextHyperlinkEventFilter::tryToFormulateUrl(QTextCursor *cursor)
|
||||||
maybeUrlStr = left + right;
|
maybeUrlStr = left + right;
|
||||||
}
|
}
|
||||||
|
|
||||||
return stringMeetsOurUrlRequirements(maybeUrlStr) ? maybeUrlStr : QString::null;
|
return stringMeetsOurUrlRequirements(maybeUrlStr) ? maybeUrlStr : QString();
|
||||||
}
|
}
|
||||||
|
|
||||||
QString TextHyperlinkEventFilter::fromCursorTilWhitespace(QTextCursor *cursor, const bool searchBackwards)
|
QString TextHyperlinkEventFilter::fromCursorTilWhitespace(QTextCursor *cursor, const bool searchBackwards)
|
||||||
|
|
Loading…
Add table
Reference in a new issue