chore: remove old Qt 5.12 code, update docs and FreeBSD runner (#5396)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -7,28 +7,23 @@
|
||||
namespace chatterino {
|
||||
|
||||
struct ParsedLink {
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)
|
||||
using StringView = QStringView;
|
||||
#else
|
||||
using StringView = QStringRef;
|
||||
#endif
|
||||
/// The parsed protocol of the link. Can be empty.
|
||||
///
|
||||
/// https://www.forsen.tv/commands
|
||||
/// ^------^
|
||||
StringView protocol;
|
||||
QStringView protocol;
|
||||
|
||||
/// The parsed host of the link. Can not be empty.
|
||||
///
|
||||
/// https://www.forsen.tv/commands
|
||||
/// ^-----------^
|
||||
StringView host;
|
||||
QStringView host;
|
||||
|
||||
/// The remainder of the link. Can be empty.
|
||||
///
|
||||
/// https://www.forsen.tv/commands
|
||||
/// ^-------^
|
||||
StringView rest;
|
||||
QStringView rest;
|
||||
|
||||
/// The original unparsed link.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user