[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.6/kdelibs/plasma
From:       Marco Martin <notmart () gmail ! com>
Date:       2011-01-04 17:20:53
Message-ID: 20110104172053.BFC41AC8AE () svn ! kde ! org
[Download RAW message or body]

SVN commit 1211700 by mart:

backport removal of dead code


 M  +0 -8      dialog.cpp  


--- branches/KDE/4.6/kdelibs/plasma/dialog.cpp #1211699:1211700
@@ -356,14 +356,6 @@
         //d->view->resize(graphicsWidget->size().toSize());
         d->view->centerOn(graphicsWidget);
 
-        //if the view resized and a border is disabled move the dialog to make sure \
                it will still look attached to panel/screen edge
-        qreal topHeight;
-        qreal leftWidth;
-        qreal rightWidth;
-        qreal bottomHeight;
-
-        d->background->getMargins(leftWidth, topHeight, rightWidth, bottomHeight);
-
         if (size() != prevSize) {
             //the size of the dialog has changed, emit the signal:
             emit dialogResized();


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic