]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Show pointing hand cursor when hovering spaceinfo bar
authorElvis Angelaccio <elvis.angelaccio@kde.org>
Wed, 1 Mar 2017 16:49:48 +0000 (17:49 +0100)
committerElvis Angelaccio <elvis.angelaccio@kde.org>
Fri, 10 Mar 2017 17:56:58 +0000 (18:56 +0100)
Summary:
This improves the discoverability of the diskspace menu, a feature
otherwise almost impossible to find.

Reviewers: gregormi, emmanuelp

Differential Revision: https://phabricator.kde.org/D4873

src/statusbar/statusbarspaceinfo.cpp

index ed909cd28df84fe33b5025d8870bcb92de0f85a2..03ab247caa338e77bef205b798a74a988d0eec25 100644 (file)
@@ -33,6 +33,7 @@ StatusBarSpaceInfo::StatusBarSpaceInfo(QWidget* parent) :
     KCapacityBar(KCapacityBar::DrawTextInline, parent),
     m_observer(0)
 {
+    setCursor(Qt::PointingHandCursor);
 }
 
 StatusBarSpaceInfo::~StatusBarSpaceInfo()