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
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
EnvironmentValidator(QWidget *parent, Utils::EnvironmentModel *model,
|
||||
QTreeView *view,
|
||||
@@ -409,3 +410,5 @@ void Internal::EnvironmentTreeView::keyPressEvent(QKeyEvent *event)
|
||||
|
||||
|
||||
} // namespace ProjectExplorer
|
||||
|
||||
#include "environmentwidget.moc"
|
||||
|
||||
@@ -46,6 +46,7 @@ namespace Internal {
|
||||
|
||||
class WaitForStopDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
WaitForStopDialog(QList<ProjectExplorer::RunControl *> runControls);
|
||||
|
||||
|
||||
@@ -39,6 +39,7 @@ namespace Internal {
|
||||
|
||||
class QmlProfilerOptionsPage : public Core::IOptionsPage
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
QmlProfilerOptionsPage();
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ QmlProfilerRunConfigurationAspect::QmlProfilerRunConfigurationAspect(
|
||||
setProjectSettings(new QmlProfilerSettings());
|
||||
setGlobalSettings(QmlProfilerPlugin::globalSettings());
|
||||
setId(Constants::SETTINGS);
|
||||
setDisplayName(tr("QML Profiler Settings"));
|
||||
setDisplayName(QCoreApplication::translate("QmlProfilerRunConfiguration", "QML Profiler Settings"));
|
||||
setUsingGlobalSettings(true);
|
||||
resetProjectToGlobalSettings();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user