Commit b94d100e authored by Kai Koehne's avatar Kai Koehne
Browse files

QmlProject: Fix issue where qmlviewer is launched with directory as argument

This happened when 'Current File' was set in the settings, but no .user.settings
parent 0b748444
...@@ -63,6 +63,7 @@ const char * const M_CURRENT_FILE = "CurrentFile"; ...@@ -63,6 +63,7 @@ const char * const M_CURRENT_FILE = "CurrentFile";
QmlProjectRunConfiguration::QmlProjectRunConfiguration(QmlProjectTarget *parent) : QmlProjectRunConfiguration::QmlProjectRunConfiguration(QmlProjectTarget *parent) :
ProjectExplorer::RunConfiguration(parent, QLatin1String(Constants::QML_RC_ID)), ProjectExplorer::RunConfiguration(parent, QLatin1String(Constants::QML_RC_ID)),
m_qtVersionId(-1), m_qtVersionId(-1),
m_projectTarget(parent), m_projectTarget(parent),
m_usingCurrentFile(true), m_usingCurrentFile(true),
m_isEnabled(false) m_isEnabled(false)
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