Commit b59962eb authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QtQuickToolBar: cleanup

parent e3f37ad1
......@@ -126,17 +126,6 @@ void DragWidget::protectedMoved()
ContextPaneWidget::ContextPaneWidget(QWidget *parent) : DragWidget(parent), m_currentWidget(0)
{
// setFrameStyle(QFrame::NoFrame);
// setFrameShape(QFrame::StyledPanel);
// setFrameShadow(QFrame::Sunken);
// m_oldPos = QPoint(-1, -1);
// m_pos = QPoint(-1, -1);
// m_dropShadowEffect = new QGraphicsDropShadowEffect;
// m_dropShadowEffect->setBlurRadius(6);
// m_dropShadowEffect->setOffset(2, 2);
// setGraphicsEffect(m_dropShadowEffect);
QGridLayout *layout = new QGridLayout(this);
layout->setMargin(0);
layout->setContentsMargins(1, 1, 1, 1);
......
......@@ -75,7 +75,7 @@ ContextPaneWidgetImage::ContextPaneWidgetImage(QWidget *parent, bool borderImage
ui = new Ui::ContextPaneWidgetImage;
ui->setupUi(this);
ui->label->setToolTip(tr("double click for preview"));
ui->label->installEventFilter(labelFilter);
ui->label->installEventFilter(labelFilter);
m_fileWidget = ui->fileWidget;
m_sizeLabel = ui->sizeLabel;
......
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