Commit 618c5c09 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.ImportManager: Adding proper icon to label



Change-Id: I7caf53091dae99239db2cc59c0a067b9d77fc1c9
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 068a2909
......@@ -28,9 +28,11 @@
****************************************************************************/
#include "importlabel.h"
#include <coreplugin/coreconstants.h>
#include <QHBoxLayout>
#include <QPushButton>
#include <QIcon>
namespace QmlDesigner {
......@@ -41,7 +43,8 @@ ImportLabel::ImportLabel(QWidget *parent) :
layout->setContentsMargins(0, 0, 0, 0);
m_removeButton = new QPushButton("X", this);
m_removeButton = new QPushButton(this);
m_removeButton->setIcon(QIcon(Core::Constants::ICON_CLOSE_DOCUMENT));
m_removeButton->setFlat(true);
m_removeButton->setMaximumWidth(20);
m_removeButton->setMaximumHeight(20);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment