summaryrefslogtreecommitdiffstats
path: root/src/gui/general/RosegardenScrollView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/general/RosegardenScrollView.cpp')
-rw-r--r--src/gui/general/RosegardenScrollView.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/general/RosegardenScrollView.cpp b/src/gui/general/RosegardenScrollView.cpp
index c3184da..815ab6b 100644
--- a/src/gui/general/RosegardenScrollView.cpp
+++ b/src/gui/general/RosegardenScrollView.cpp
@@ -75,8 +75,8 @@ void RosegardenScrollView::setBottomFixedWidget(TQWidget* w)
m_bottomWidget = w;
if (m_bottomWidget) {
m_bottomWidget->reparent(this, 0, TQPoint(0, 0));
- m_bottomWidget->setSizePolicy(TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed));
- setMargins(0, 0, 0, m_bottomWidget->sizeHint().height());
+ m_bottomWidget->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed));
+ setMargins(0, 0, 0, m_bottomWidget->tqsizeHint().height());
}
}
@@ -376,7 +376,7 @@ void RosegardenScrollView::updateBottomWidgetGeometry()
if (!m_bottomWidget)
return ;
- int bottomWidgetHeight = m_bottomWidget->sizeHint().height();
+ int bottomWidgetHeight = m_bottomWidget->tqsizeHint().height();
setMargins(0, 0, 0, bottomWidgetHeight);
TQRect r = frameRect();