forked from qt-creator/qt-creator
UI text: Fix spacing in multi-line messages
You need an empty space at the end of a line (before quotes), but no empty space after \n. Task-number: QTCREATORBUG-28334 Change-Id: I192836cb10b819a359778879c64e6b80aaa059f2 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -272,7 +272,7 @@ bool QmlProjectPlugin::initialize(const QStringList &, QString *errorMessage)
|
||||
if (QmlProject::isQtDesignStudio()) {
|
||||
Core::ActionContainer *menu = Core::ActionManager::actionContainer(
|
||||
ProjectExplorer::Constants::M_FILECONTEXT);
|
||||
QAction *mainfileAction = new QAction(tr("Set as main .qml file"), this);
|
||||
QAction *mainfileAction = new QAction(tr("Set as Main .qml File"), this);
|
||||
mainfileAction->setEnabled(false);
|
||||
|
||||
connect(mainfileAction, &QAction::triggered, this, []() {
|
||||
@@ -315,7 +315,7 @@ bool QmlProjectPlugin::initialize(const QStringList &, QString *errorMessage)
|
||||
!= fileNode->filePath());
|
||||
});
|
||||
|
||||
QAction *mainUifileAction = new QAction(tr("Set as main .ui.qml file"), this);
|
||||
QAction *mainUifileAction = new QAction(tr("Set as Main .ui.qml File"), this);
|
||||
mainUifileAction->setEnabled(false);
|
||||
|
||||
connect(mainUifileAction, &QAction::triggered, this, []() {
|
||||
|
Reference in New Issue
Block a user