Commit 23ce24e9 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix warning when building against qt6

parent 58d27c92
Pipeline #183041 passed with stage
in 4 minutes and 24 seconds
......@@ -26,6 +26,9 @@ void WhatsNextTextBrowser::setSource(const QUrl &name)
void WhatsNextTextBrowser::doSetSource(const QUrl &name, QTextDocument::ResourceType type)
#endif
{
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
Q_UNUSED(type);
#endif
const QString uri = name.toString();
if (uri.startsWith(QLatin1String("event:"))) {
Q_EMIT showIncidence(uri);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment