forked from qt-creator/qt-creator
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:
committed by
Henning Gründl
parent
a34401eae2
commit
786fb803aa
@@ -8,7 +8,6 @@
|
|||||||
#include "coreplugin/actionmanager/actionmanager.h"
|
#include "coreplugin/actionmanager/actionmanager.h"
|
||||||
#include "coreplugin/icontext.h"
|
#include "coreplugin/icontext.h"
|
||||||
#include "theme.h"
|
#include "theme.h"
|
||||||
#include "utils/fileutils.h"
|
|
||||||
#include "utils/id.h"
|
#include "utils/id.h"
|
||||||
|
|
||||||
#include <QAction>
|
#include <QAction>
|
||||||
@@ -65,9 +64,6 @@ CurveEditorToolBar::CurveEditorToolBar(CurveEditorModel *model, QWidget* parent)
|
|||||||
setFixedHeight(Theme::toolbarSize());
|
setFixedHeight(Theme::toolbarSize());
|
||||||
setContentsMargins(0, 0, 0, 0);
|
setContentsMargins(0, 0, 0, 0);
|
||||||
|
|
||||||
QByteArray sheet = Utils::FileReader::fetchQrc(":/qmldesigner/stylesheet.css");
|
|
||||||
setStyleSheet(Theme::replaceCssColors(QString::fromUtf8(sheet)));
|
|
||||||
|
|
||||||
addSpace(5);
|
addSpace(5);
|
||||||
|
|
||||||
QAction *tangentLinearAction = addAction(Theme::iconFromName(Theme::linear_medium), "Linear");
|
QAction *tangentLinearAction = addAction(Theme::iconFromName(Theme::linear_medium), "Linear");
|
||||||
|
@@ -95,9 +95,6 @@ TimelineToolBar::TimelineToolBar(QWidget *parent)
|
|||||||
: QToolBar(parent)
|
: QToolBar(parent)
|
||||||
, m_grp()
|
, m_grp()
|
||||||
{
|
{
|
||||||
QByteArray sheet = Utils::FileReader::fetchQrc(":/qmldesigner/stylesheet.css");
|
|
||||||
setStyleSheet(Theme::replaceCssColors(QString::fromUtf8(sheet)));
|
|
||||||
|
|
||||||
setContentsMargins(0, 0, 0, 0);
|
setContentsMargins(0, 0, 0, 0);
|
||||||
setFixedHeight(Theme::toolbarSize());
|
setFixedHeight(Theme::toolbarSize());
|
||||||
createLeftControls();
|
createLeftControls();
|
||||||
|
Reference in New Issue
Block a user