summaryrefslogtreecommitdiffstats
path: root/twin/lib/kcommondecoration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'twin/lib/kcommondecoration.cpp')
-rw-r--r--twin/lib/kcommondecoration.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/twin/lib/kcommondecoration.cpp b/twin/lib/kcommondecoration.cpp
index 997845a5c..48db91040 100644
--- a/twin/lib/kcommondecoration.cpp
+++ b/twin/lib/kcommondecoration.cpp
@@ -524,8 +524,8 @@ void KCommonDecoration::resize( const TQSize& s )
TQSize KCommonDecoration::minimumSize() const
{
- const int minWidth = QMAX(layoutMetric(LM_TitleEdgeLeft), layoutMetric(LM_BorderLeft))
- +QMAX(layoutMetric(LM_TitleEdgeRight), layoutMetric(LM_BorderRight))
+ const int minWidth = TQMAX(layoutMetric(LM_TitleEdgeLeft), layoutMetric(LM_BorderLeft))
+ +TQMAX(layoutMetric(LM_TitleEdgeRight), layoutMetric(LM_BorderRight))
+layoutMetric(LM_TitleBorderLeft)+layoutMetric(LM_TitleBorderRight);
return TQSize(minWidth,
layoutMetric(LM_TitleEdgeTop)+layoutMetric(LM_TitleHeight)