From 4db304cc9e3424e1e3ac8912a3546d63452682f0 Mon Sep 17 00:00:00 2001 From: Eskil Abrahamsen Blomfeldt Date: Tue, 17 Nov 2020 08:11:20 +0100 Subject: [PATCH] Fix compilation after QFileInfo changes The QFileInfo constructors were made explicit in 784a290c4b08e84d895a62dada5420a3b47dde48, breaking compilation where the implicit construction was used. Fixes: QTBUG-88565 Change-Id: Icc4c335ea5cbbd21f8a9027beb57823e233b253d Reviewed-by: Volker Hilsheimer --- src/plugins/platforms/wayland/qwaylandwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/platforms/wayland/qwaylandwindow.cpp b/src/plugins/platforms/wayland/qwaylandwindow.cpp index c7e715b6574..328e4f3ce24 100644 --- a/src/plugins/platforms/wayland/qwaylandwindow.cpp +++ b/src/plugins/platforms/wayland/qwaylandwindow.cpp @@ -162,7 +162,7 @@ void QWaylandWindow::initWindow() name.chop(8); mShellSurface->setAppId(name); } else { - QFileInfo fi = QCoreApplication::instance()->applicationFilePath(); + QFileInfo fi = QFileInfo(QCoreApplication::instance()->applicationFilePath()); QStringList domainName = QCoreApplication::instance()->organizationDomain().split(QLatin1Char('.'), Qt::SkipEmptyParts);