summaryrefslogtreecommitdiffstats
path: root/src/gui/platform/unix/qgenericunixservices.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/platform/unix/qgenericunixservices.cpp')
-rw-r--r--src/gui/platform/unix/qgenericunixservices.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/platform/unix/qgenericunixservices.cpp b/src/gui/platform/unix/qgenericunixservices.cpp
index deed63285b..cf010f2dc0 100644
--- a/src/gui/platform/unix/qgenericunixservices.cpp
+++ b/src/gui/platform/unix/qgenericunixservices.cpp
@@ -157,14 +157,14 @@ static inline bool detectWebBrowser(const QByteArray &desktop,
}
for (size_t i = 0; i < sizeof(browsers)/sizeof(char *); ++i)
- if (checkExecutable(QLatin1String(browsers[i]), browser))
+ if (checkExecutable(QLatin1StringView(browsers[i]), browser))
return true;
return false;
}
static inline bool launch(const QString &launcher, const QUrl &url)
{
- const QString command = launcher + u' ' + QLatin1String(url.toEncoded());
+ const QString command = launcher + u' ' + QLatin1StringView(url.toEncoded());
if (debug)
qDebug("Launching %s", qPrintable(command));
#if !QT_CONFIG(process)