Fix bug which created multi tab

CCMAIL: faure@kde.org
wilder-work
Montel Laurent 9 years ago
parent d4e9438c9a
commit 45ebd203bf
  1. 2
      src/kmmainwidget.cpp

@ -1066,7 +1066,7 @@ void KMMainWidget::createWidgets()
mFavoriteCollectionsView = new FavoriteCollectionWidget(mGUIClient, this);
refreshFavoriteFoldersViewProperties();
connect(mFavoriteCollectionsView, SIGNAL(currentChanged(Akonadi::Collection)), this, SLOT(slotFolderChanged(Akonadi::Collection)));
connect(mFavoriteCollectionsView, &FavoriteCollectionWidget::prefereCreateNewTab, this, &KMMainWidget::slotCreateNewTab);
mFavoritesModel = new Akonadi::FavoriteCollectionsModel(
mFolderTreeWidget->folderTreeView()->model(),
KMKernel::self()->config()->group("FavoriteCollections"), mFavoriteCollectionsView);

Loading…
Cancel
Save