Commit 9ccb2680 authored by Laurent Montel's avatar Laurent Montel 😁

Fix Bug 296450 - Duplicate "General" tabs are shown in Address book properties

BUG: 296450
FIXED-IN: 4.8.2
parent a84a700b
......@@ -228,6 +228,11 @@ MainWidget::MainWidget( KXMLGUIClient *guiClient, QWidget *parent )
mActionManager->setCollectionSelectionModel( mCollectionView->selectionModel() );
mActionManager->setItemSelectionModel( mItemView->selectionModel() );
mActionManager->createAllActions();
const QStringList pages =
QStringList() << QLatin1String( "Akonadi::CollectionGeneralPropertiesPage" )
<< QLatin1String( "Akonadi::CachePolicyPage" );
mActionManager->setCollectionPropertiesPageNames( pages );
connect( mItemView, SIGNAL(currentChanged(Akonadi::Item)),
this, SLOT(itemSelected(Akonadi::Item)) );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment