remove dead code

svn path=/trunk/KDE/kdelibs/; revision=1129281
This commit is contained in:
Marco Martin 2010-05-21 20:59:33 +00:00
parent 235172e42e
commit 891594a433

View File

@ -396,13 +396,6 @@ void Dialog::syncToGraphicsWidget()
d->background->getMargins(leftWidth, topHeight, rightWidth, bottomHeight); d->background->getMargins(leftWidth, topHeight, rightWidth, bottomHeight);
/*if (rightWidth == 0) {
move(pos().x() + (prevSize.width() - size().width()), pos().y());
}
if (bottomHeight == 0) {
move(pos().x(), pos().y() + (prevSize.height() - size().height()));
}*/
if (size() != prevSize) { if (size() != prevSize) {
//the size of the dialog has changed, emit the signal: //the size of the dialog has changed, emit the signal:
emit dialogResized(); emit dialogResized();