summaryrefslogtreecommitdiffstats
path: root/kexi/widget/utils/kexirecordnavigator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/widget/utils/kexirecordnavigator.cpp')
-rw-r--r--kexi/widget/utils/kexirecordnavigator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexi/widget/utils/kexirecordnavigator.cpp b/kexi/widget/utils/kexirecordnavigator.cpp
index 18d1b09c0..6579fc426 100644
--- a/kexi/widget/utils/kexirecordnavigator.cpp
+++ b/kexi/widget/utils/kexirecordnavigator.cpp
@@ -71,7 +71,7 @@ KexiRecordNavigator::KexiRecordNavigator(TQWidget *parent, int leftMargin, const
, m_isInsertingEnabled(true)
, d( new KexiRecordNavigatorPrivate() )
{
- if (parent->inherits(TQSCROLLVIEW_OBJECT_NAME_STRING))
+ if (parent->inherits("TQScrollView"))
setParentView( dynamic_cast<TQScrollView*>(parent) );
setFrameStyle(TQFrame::NoFrame);
d->lyr = new TQHBoxLayout(this,0,0,"nav_lyr");