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 <volker.hilsheimer@qt.io>
This commit is contained in:
Eskil Abrahamsen Blomfeldt 2020-11-17 08:11:20 +01:00
parent f2bc2a7c19
commit 4db304cc9e

View File

@ -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);