diff options
Diffstat (limited to 'superkaramba/src/themewidget.cpp')
-rw-r--r-- | superkaramba/src/themewidget.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/superkaramba/src/themewidget.cpp b/superkaramba/src/themewidget.cpp index e286bc4..cd941b9 100644 --- a/superkaramba/src/themewidget.cpp +++ b/superkaramba/src/themewidget.cpp @@ -101,12 +101,12 @@ void ThemeWidget::showButton(bool show) void ThemeWidget::setDescriptionMaxHeight() { - if(tqlayoutText->tqgeometry().height() <= 0) + if(layoutText->tqgeometry().height() <= 0) return; - int height = tqlayoutText->tqgeometry().height() - themeName->height() - - tqlayoutText->spacing(); + int height = layoutText->tqgeometry().height() - themeName->height() - + layoutText->spacing(); if(buttonGo->isVisible()) - height -= tqlayoutButton->tqgeometry().height() + tqlayoutText->spacing(); + height -= layoutButton->tqgeometry().height() + layoutText->spacing(); description->setMaximumHeight(height); } |