remove dead code
svn path=/trunk/KDE/kdelibs/; revision=1129281
This commit is contained in:
parent
235172e42e
commit
891594a433
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user