Fwd: wrong branch: [kwidgetsaddons/removeicon1] src: Remove top right icon from KPageView
Gregor Mi
codestruct at posteo.org
Fri Dec 12 11:11:01 UTC 2014
Hi,
I accidently pushed to the wrong branch so a new branch was created. I pushed also to
master but I cannot delete the wrong branch myself:
remote: FATAL: D refs/heads/removeicon1 kwidgetsaddons gregormi DENIED by fallthru
Or can I?
Gregor
-------- Forwarded Message --------
Subject: [kwidgetsaddons/removeicon1] src: Remove top right icon from KPageView
Date: Fri, 12 Dec 2014 11:04:16 +0000
From: Gregor Mi <codestruct at posteo.org>
Reply-To: kde-commits at kde.org
To: kde-commits at kde.org
Git commit 7bf344b5137e419a5caab42c346a0eb20e5912e6 by Gregor Mi.
Committed on 07/12/2014 at 10:32.
Pushed by gregormi into branch 'removeicon1'.
Remove top right icon from KPageView
REVIEW: 121379
M +0 -2 src/kpageview.cpp
http://commits.kde.org/kwidgetsaddons/7bf344b5137e419a5caab42c346a0eb20e5912e6
diff --git a/src/kpageview.cpp b/src/kpageview.cpp
index 69d1bf9..f9e7cb4 100644
--- a/src/kpageview.cpp
+++ b/src/kpageview.cpp
@@ -264,8 +264,6 @@ void KPageViewPrivate::updateTitleWidget(const QModelIndex &index)
header = model->data(index, Qt::DisplayRole).toString();
}
- const QIcon icon = model->data(index, Qt::DecorationRole).value<QIcon>();
- titleWidget->setPixmap(icon.pixmap(22, 22));
titleWidget->setText(header);
titleWidget->setVisible(q->showPageHeader());
More information about the Kde-frameworks-devel
mailing list