[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kde-workspace/plasma/sreich/sal-lenses] plasma/netbook/containments/sal: add icons
From: Shaun Reich <shaun.reich () kdemail ! net>
Date: 2012-02-24 21:16:06
Message-ID: 20120224211606.6A2DFA60A6 () git ! kde ! org
[Download RAW message or body]
Git commit 47b8d471651ea51b030aff0ff33dfd3837db73cb by Shaun Reich.
Committed on 24/02/2012 at 22:15.
Pushed by sreich into branch 'plasma/sreich/sal-lenses'.
add icons
M +3 -4 plasma/netbook/containments/sal/sal.cpp
http://commits.kde.org/kde-workspace/47b8d471651ea51b030aff0ff33dfd3837db73cb
diff --git a/plasma/netbook/containments/sal/sal.cpp b/plasma/netbook/containments/sal/sal.cpp
index c64b673..9d06a6b 100644
--- a/plasma/netbook/containments/sal/sal.cpp
+++ b/plasma/netbook/containments/sal/sal.cpp
@@ -227,15 +227,14 @@ void SearchLaunch::init()
searchLayout->addAnchors(m_backButton, searchLayout, Qt::Vertical);
searchLayout->addAnchor(m_backButton, Qt::AnchorRight, m_searchField, Qt::AnchorLeft);
-
QGraphicsAnchorLayout *filterLayout = new QGraphicsAnchorLayout();
filterLayout->setSizePolicy(QSizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum));
m_filterTabs = new Plasma::TabBar(this);
m_filterTabs->addTab("All");
- m_filterTabs->addTab("Apps");
- m_filterTabs->addTab("Files");
- m_filterTabs->addTab("Internet");
+ m_filterTabs->addTab(KIcon("applications-other"), "Apps");
+ m_filterTabs->addTab(KIcon("folder-documents"), "Files");
+ m_filterTabs->addTab(KIcon("applications-internet"), "Internet");
connect(m_filterTabs, SIGNAL(currentChanged(int)), this, SLOT(filterTabsChanged(int)));
filterLayout->addAnchors(m_filterTabs, filterLayout, Qt::Vertical);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic