diff options
Diffstat (limited to 'kpresenter/KPrView.cpp')
-rw-r--r-- | kpresenter/KPrView.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kpresenter/KPrView.cpp b/kpresenter/KPrView.cpp index 7382cc5e..9577bc7d 100644 --- a/kpresenter/KPrView.cpp +++ b/kpresenter/KPrView.cpp @@ -4819,15 +4819,15 @@ TQPopupMenu * KPrView::popupMenu( const TQString& name ) } void KPrView::addVariableActions( int type, const TQStringList & texts, - KActionMenu * tqparentMenu, const TQString & menuText ) + KActionMenu * parentMenu, const TQString & menuText ) { - // Single items go directly into tqparentMenu. + // Single items go directly into parentMenu. // For multiple items we create a submenu. if ( texts.count() > 1 && !menuText.isEmpty() ) { KActionMenu * subMenu = new KActionMenu( menuText, actionCollection() ); - tqparentMenu->insert( subMenu ); - tqparentMenu = subMenu; + parentMenu->insert( subMenu ); + parentMenu = subMenu; } TQStringList::ConstIterator it = texts.begin(); for ( int i = 0; it != texts.end() ; ++it, ++i ) @@ -4840,7 +4840,7 @@ void KPrView::addVariableActions( int type, const TQStringList & texts, KAction * act = new KAction( (*it), 0, TQT_TQOBJECT(this), TQT_SLOT( insertVariable() ), actionCollection(), "var-action" ); m_variableDefMap.insert( act, v ); - tqparentMenu->insert( act ); + parentMenu->insert( act ); } } } |