┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/selectiontoggle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/selectiontoggle.cpp')
-rw-r--r--src/selectiontoggle.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/selectiontoggle.cpp b/src/selectiontoggle.cpp
index a2abc49c2..fa10c7559 100644
--- a/src/selectiontoggle.cpp
+++ b/src/selectiontoggle.cpp
@@ -23,6 +23,7 @@
#include <kicon.h>
#include <kiconloader.h>
#include <kiconeffect.h>
+#include <klocale.h>
#include <QPainter>
#include <QPaintEvent>
@@ -103,6 +104,8 @@ void SelectionToggle::enterEvent(QEvent* event)
m_fadingTimeLine->stop();
}
m_fadingValue = 255;
+ setToolTip(isChecked() ? i18nc("@info:tooltip", "Deselect Item") :
+ i18nc("@info:tooltip", "Select Item"));
update();
}