summaryrefslogtreecommitdiffstats
path: root/korganizer/koviewmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/koviewmanager.cpp')
-rw-r--r--korganizer/koviewmanager.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/korganizer/koviewmanager.cpp b/korganizer/koviewmanager.cpp
index e04e0c9a9..38ab086af 100644
--- a/korganizer/koviewmanager.cpp
+++ b/korganizer/koviewmanager.cpp
@@ -354,12 +354,12 @@ void KOViewManager::showAgendaView()
const bool showSideBySide = !isLocalFile && ( showBoth || mode == KOPrefs::CalendarsSideBySide );
- TQWidget *tqparent = mMainView->viewStack();
+ TQWidget *parent = mMainView->viewStack();
if ( !mAgendaViewTabs && showBoth ) {
mAgendaViewTabs = new TQTabWidget( mMainView->viewStack() );
connect( mAgendaViewTabs, TQT_SIGNAL( currentChanged( TQWidget* ) ),
this, TQT_SLOT( currentAgendaViewTabChanged( TQWidget* ) ) );
- tqparent = mAgendaViewTabs;
+ parent = mAgendaViewTabs;
KConfig *config = KOGlobals::self()->config();
config->setGroup( "Views" );
@@ -369,7 +369,7 @@ void KOViewManager::showAgendaView()
if ( !mAgendaView && showMerged ) {
mAgendaView = new KOAgendaView( mMainView->calendar(),
mMainView,
- tqparent,
+ parent,
"KOViewManager::AgendaView" );
addView(mAgendaView);
@@ -386,7 +386,7 @@ void KOViewManager::showAgendaView()
if ( !mAgendaSideBySideView && showSideBySide ) {
mAgendaSideBySideView =
- new MultiAgendaView( mMainView->calendar(), mMainView, tqparent,
+ new MultiAgendaView( mMainView->calendar(), mMainView, parent,
"KOViewManager::AgendaSideBySideView" );
addView(mAgendaSideBySideView);