From 45ebd203bf4c025935f9efdcef581c4dbc66d099 Mon Sep 17 00:00:00 2001 From: Montel Laurent Date: Tue, 27 Dec 2016 08:13:38 +0100 Subject: [PATCH] Fix bug which created multi tab CCMAIL: faure@kde.org --- src/kmmainwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kmmainwidget.cpp b/src/kmmainwidget.cpp index 99143f544..1287d2991 100644 --- a/src/kmmainwidget.cpp +++ b/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);