forked from qt-creator/qt-creator
ExtensionManager: Minor fixes
* re-order some includes * avoid using *tr.h inside header * typo Change-Id: Iba8d46384410ff06b184f55d66c4e7afca4ab666 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
// Copyright (C) 2023 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
|
||||
#include "extensionmanagertr.h"
|
||||
#include "extensionmanagerwidget.h"
|
||||
|
||||
#include "extensionmanagerconstants.h"
|
||||
#include "extensionmanagerwidget.h"
|
||||
#include "extensionmanagertr.h"
|
||||
#include "extensionsbrowser.h"
|
||||
#include "utils/algorithm.h"
|
||||
|
||||
#include <coreplugin/coreconstants.h>
|
||||
#include <coreplugin/icontext.h>
|
||||
@@ -17,6 +16,7 @@
|
||||
|
||||
#include <extensionsystem/pluginspec.h>
|
||||
|
||||
#include <utils/algorithm.h>
|
||||
#include <utils/icon.h>
|
||||
#include <utils/layoutbuilder.h>
|
||||
#include <utils/stylehelper.h>
|
||||
@@ -292,7 +292,7 @@ void ExtensionManagerWidget::updateView(const QModelIndex ¤t,
|
||||
<div style="%1">%2</div>
|
||||
<p>%3</p>
|
||||
)").arg(h6Css)
|
||||
.arg(Tr::tr("Exentsions in pack"))
|
||||
.arg(Tr::tr("Extensions in pack"))
|
||||
.arg(extensions.join("<br/>")));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
// Copyright (C) 2023 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
|
||||
#include "extensionmanagertr.h"
|
||||
|
||||
#include "extensionmanagerconstants.h"
|
||||
|
||||
#include <coreplugin/welcomepagehelper.h>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
// Copyright (C) 2023 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
||||
|
||||
#include "extensionmanagertr.h"
|
||||
|
||||
#include "extensionsbrowser.h"
|
||||
|
||||
#include "extensionmanagertr.h"
|
||||
|
||||
#include <coreplugin/coreconstants.h>
|
||||
#include <coreplugin/icontext.h>
|
||||
#include <coreplugin/icore.h>
|
||||
|
||||
Reference in New Issue
Block a user