forked from qt-creator/qt-creator
QmlDesigner: Hopefully fix strange MSVC fail
Change-Id: I9677a85269a7496d557e7e3e9127604e48f668a4 Reviewed-by: Marco Bubke <marco.bubke@qt.io> Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
This commit is contained in:
@@ -275,7 +275,7 @@ void DatabaseBackend::checkCanOpenDatabase(Utils::SmallStringView databaseFilePa
|
||||
if (databaseFilePath.isEmpty())
|
||||
throw DatabaseFilePathIsEmpty("SqliteDatabaseBackend::SqliteDatabaseBackend: database cannot be opened because the file path is empty!");
|
||||
|
||||
if (!QFileInfo::exists(QFileInfo(QString(databaseFilePath)).path()))
|
||||
if (!QFileInfo::exists(QFileInfo(QString{databaseFilePath}).path()))
|
||||
throw WrongFilePath(Utils::SmallString(databaseFilePath));
|
||||
|
||||
if (databaseIsOpen())
|
||||
|
Reference in New Issue
Block a user