QML project executable file to default to lowercase .qml file

Use a lowercase .qml file found in project tree if no current file is
selected. This way we don't have to disable run controls if there are
some files to execute.

Reviewed-by: kkoehne
This commit is contained in:
Lasse Holmstedt
2010-03-08 14:36:44 +01:00
parent c5d6c139c1
commit 61ca001e67
3 changed files with 26 additions and 1 deletions

View File

@@ -72,8 +72,11 @@ public:
QVariantMap toMap() const;
private slots:
public slots:
void changeCurrentFile(Core::IEditor*);
private slots:
QString mainScript() const;
void setMainScript(const QString &scriptFile);
@@ -102,6 +105,8 @@ private:
QString m_debugServerAddress;
uint m_debugServerPort;
Internal::QmlProjectTarget *m_projectTarget;
bool m_usingCurrentFile;
bool m_isEnabled;