forked from qt-creator/qt-creator
Fix missing translations
Fixed some lacks of Q_OBJECT macro. Change-Id: I226078baa40977ef49357b34b1e9dc5f0491d76a Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
@@ -52,6 +52,7 @@ namespace ProjectExplorer {
|
|||||||
|
|
||||||
class EnvironmentValidator : public QValidator
|
class EnvironmentValidator : public QValidator
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
EnvironmentValidator(QWidget *parent, Utils::EnvironmentModel *model,
|
EnvironmentValidator(QWidget *parent, Utils::EnvironmentModel *model,
|
||||||
QTreeView *view,
|
QTreeView *view,
|
||||||
@@ -409,3 +410,5 @@ void Internal::EnvironmentTreeView::keyPressEvent(QKeyEvent *event)
|
|||||||
|
|
||||||
|
|
||||||
} // namespace ProjectExplorer
|
} // namespace ProjectExplorer
|
||||||
|
|
||||||
|
#include "environmentwidget.moc"
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ namespace Internal {
|
|||||||
|
|
||||||
class WaitForStopDialog : public QDialog
|
class WaitForStopDialog : public QDialog
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
WaitForStopDialog(QList<ProjectExplorer::RunControl *> runControls);
|
WaitForStopDialog(QList<ProjectExplorer::RunControl *> runControls);
|
||||||
|
|
||||||
|
|||||||
@@ -39,6 +39,7 @@ namespace Internal {
|
|||||||
|
|
||||||
class QmlProfilerOptionsPage : public Core::IOptionsPage
|
class QmlProfilerOptionsPage : public Core::IOptionsPage
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
QmlProfilerOptionsPage();
|
QmlProfilerOptionsPage();
|
||||||
|
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ QmlProfilerRunConfigurationAspect::QmlProfilerRunConfigurationAspect(
|
|||||||
setProjectSettings(new QmlProfilerSettings());
|
setProjectSettings(new QmlProfilerSettings());
|
||||||
setGlobalSettings(QmlProfilerPlugin::globalSettings());
|
setGlobalSettings(QmlProfilerPlugin::globalSettings());
|
||||||
setId(Constants::SETTINGS);
|
setId(Constants::SETTINGS);
|
||||||
setDisplayName(tr("QML Profiler Settings"));
|
setDisplayName(QCoreApplication::translate("QmlProfilerRunConfiguration", "QML Profiler Settings"));
|
||||||
setUsingGlobalSettings(true);
|
setUsingGlobalSettings(true);
|
||||||
resetProjectToGlobalSettings();
|
resetProjectToGlobalSettings();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user