summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qworkspace.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/qworkspace.cpp')
-rw-r--r--src/gui/widgets/qworkspace.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gui/widgets/qworkspace.cpp b/src/gui/widgets/qworkspace.cpp
index bf50d07..13ef13b 100644
--- a/src/gui/widgets/qworkspace.cpp
+++ b/src/gui/widgets/qworkspace.cpp
@@ -1239,7 +1239,6 @@ QWidget * QWorkspace::addWindow(QWidget *w, Qt::WindowFlags flags)
int x = w->x();
int y = w->y();
bool hasPos = w->testAttribute(Qt::WA_Moved);
- QSize s = w->size().expandedTo(qSmartMinSize(w));
if (!hasSize && w->sizeHint().isValid())
w->adjustSize();