From fcb8c859511c580ecef8bae2bcfa51070d74051e Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 21 Aug 2014 15:47:37 +0200 Subject: [PATCH] remove dead code --- src/plasmaquick/dialog.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/plasmaquick/dialog.cpp b/src/plasmaquick/dialog.cpp index 83ab0d077..50324ddab 100644 --- a/src/plasmaquick/dialog.cpp +++ b/src/plasmaquick/dialog.cpp @@ -154,10 +154,6 @@ void DialogPrivate::syncBorders() updateMaximumHeight(); } } - - if (q->isVisible() && backgroundHints != Dialog::NoBackground) { - DialogShadows::self()->addWindow(q, frameSvgItem->enabledBorders()); - } } void DialogPrivate::updateTheme() @@ -486,7 +482,6 @@ Dialog::Dialog(QQuickItem *parent) property("data"); //Create the FrameSvg background. d->frameSvgItem = new Plasma::FrameSvgItem(contentItem()); - //d->frameSvgItem->setImagePath("dialogs/background"); connect(&d->theme, SIGNAL(themeChanged()), this, SLOT(updateTheme()));