forked from qt-creator/qt-creator
Fix GCC warnings.
This commit is contained in:
@@ -592,6 +592,7 @@ QmlRunControlFactory::~QmlRunControlFactory()
|
|||||||
|
|
||||||
bool QmlRunControlFactory::canRun(RunConfiguration *runConfiguration, const QString &mode) const
|
bool QmlRunControlFactory::canRun(RunConfiguration *runConfiguration, const QString &mode) const
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(mode)
|
||||||
return (qobject_cast<QmlRunConfiguration*>(runConfiguration) != 0);
|
return (qobject_cast<QmlRunConfiguration*>(runConfiguration) != 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -164,12 +164,12 @@ private Q_SLOTS:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
QmlProject *m_project;
|
QmlProject *m_project;
|
||||||
uint m_debugServerPort;
|
|
||||||
QString m_scriptFile;
|
QString m_scriptFile;
|
||||||
QString m_qmlViewerCustomPath;
|
QString m_qmlViewerCustomPath;
|
||||||
QString m_qmlViewerDefaultPath;
|
QString m_qmlViewerDefaultPath;
|
||||||
QString m_qmlViewerArgs;
|
QString m_qmlViewerArgs;
|
||||||
QLatin1String m_type;
|
QLatin1String m_type;
|
||||||
|
uint m_debugServerPort;
|
||||||
};
|
};
|
||||||
|
|
||||||
class QmlRunConfigurationFactory : public ProjectExplorer::IRunConfigurationFactory
|
class QmlRunConfigurationFactory : public ProjectExplorer::IRunConfigurationFactory
|
||||||
|
Reference in New Issue
Block a user