Commit 1b4d1f1f authored by Erik Verbruggen's avatar Erik Verbruggen
Browse files

Suppress warning dialog when the QML Viewer executable cannot be found.

parent b208e15a
...@@ -344,12 +344,7 @@ QString QmlRunConfiguration::type() const ...@@ -344,12 +344,7 @@ QString QmlRunConfiguration::type() const
QString QmlRunConfiguration::executable() const QString QmlRunConfiguration::executable() const
{ {
if (! QFile::exists(m_qmlViewer)) { // No need to verify if the QML Viewer exists. The console will tell us anyway when we try to launch it.
QMessageBox::information(Core::ICore::instance()->mainWindow(),
tr("QML Viewer"),
tr("Could not find the qmlviewer executable, please specify one."));
}
return m_qmlViewer; return m_qmlViewer;
} }
......
Markdown is supported
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