QmlDesigner: Remove redundant appliance of CSS

Change-Id: I330430ac143079a104dbd53d20262e4af8e9676b
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Ali Kianian <ali.kianian@qt.io>
This commit is contained in:
Henning Gruendl
2023-02-22 10:21:19 +01:00
committed by Henning Gründl
parent a34401eae2
commit 786fb803aa
2 changed files with 0 additions and 7 deletions

View File

@@ -8,7 +8,6 @@
#include "coreplugin/actionmanager/actionmanager.h"
#include "coreplugin/icontext.h"
#include "theme.h"
#include "utils/fileutils.h"
#include "utils/id.h"
#include <QAction>
@@ -65,9 +64,6 @@ CurveEditorToolBar::CurveEditorToolBar(CurveEditorModel *model, QWidget* parent)
setFixedHeight(Theme::toolbarSize());
setContentsMargins(0, 0, 0, 0);
QByteArray sheet = Utils::FileReader::fetchQrc(":/qmldesigner/stylesheet.css");
setStyleSheet(Theme::replaceCssColors(QString::fromUtf8(sheet)));
addSpace(5);
QAction *tangentLinearAction = addAction(Theme::iconFromName(Theme::linear_medium), "Linear");

View File

@@ -95,9 +95,6 @@ TimelineToolBar::TimelineToolBar(QWidget *parent)
: QToolBar(parent)
, m_grp()
{
QByteArray sheet = Utils::FileReader::fetchQrc(":/qmldesigner/stylesheet.css");
setStyleSheet(Theme::replaceCssColors(QString::fromUtf8(sheet)));
setContentsMargins(0, 0, 0, 0);
setFixedHeight(Theme::toolbarSize());
createLeftControls();