author | zautrix <zautrix> | 2005-01-17 15:26:56 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-01-17 15:26:56 (UTC) |
commit | 1525820e30e14de83a15533a3c67aa2756a544f4 (patch) (side-by-side diff) | |
tree | cb8083c4675c874b5cac9355acc4d746077b6692 /kaddressbook/viewmanager.cpp | |
parent | 214b82c86bd5365d7a5fc786c8c9c7231ec6dc77 (diff) | |
download | kdepimpi-1525820e30e14de83a15533a3c67aa2756a544f4.zip kdepimpi-1525820e30e14de83a15533a3c67aa2756a544f4.tar.gz kdepimpi-1525820e30e14de83a15533a3c67aa2756a544f4.tar.bz2 |
AB fixes
-rw-r--r-- | kaddressbook/viewmanager.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/kaddressbook/viewmanager.cpp b/kaddressbook/viewmanager.cpp index 4be860e..04759a7 100644 --- a/kaddressbook/viewmanager.cpp +++ b/kaddressbook/viewmanager.cpp @@ -205,4 +205,9 @@ void ViewManager::unloadViews() } +void ViewManager::selectView( const QString &name ) +{ + setActiveView( name ); + mCore->saveSettings(); +} void ViewManager::setActiveView( const QString &name ) { @@ -284,5 +289,4 @@ void ViewManager::setActiveView( const QString &name ) //US performance optimization. setActiveFilter calls also mActiveView->refresh() //US mActiveView->refresh(); - mCore->saveSettings(); } else @@ -490,5 +494,4 @@ void ViewManager::createViewFactories() void ViewManager::dropped( QDropEvent *e ) { - kdDebug(5720) << "ViewManager::dropped: got a drop event" << endl; #ifndef KAB_EMBEDDED @@ -656,5 +659,5 @@ void ViewManager::initActions() #endif connect( mActionSelectView, SIGNAL( activated( const QString& ) ), - SLOT( setActiveView( const QString& ) ) ); + SLOT( selectView( const QString& ) ) ); |