summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2022-02-05 17:47:46 +0900
committerMichele Calgaro <[email protected]>2022-02-05 17:48:12 +0900
commit384349606b37869efdf65de53ed23b2d6bbd8b29 (patch)
tree85814d97759a9942850da7237eccc3e47d39c12d
parent538a0216f320a9cad70d32dd22d690ac139bb37d (diff)
downloadtdebase-384349606b37869efdf65de53ed23b2d6bbd8b29.tar.gz
tdebase-384349606b37869efdf65de53ed23b2d6bbd8b29.zip
Kicker storage applet: display more useful information on the tooltip of each device.
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 7390d40f774d7533389294ee356e8c29ccebdbe9)
-rw-r--r--kicker/applets/media/mediumbutton.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/kicker/applets/media/mediumbutton.cpp b/kicker/applets/media/mediumbutton.cpp
index ce61cfbd6..b87f73ab1 100644
--- a/kicker/applets/media/mediumbutton.cpp
+++ b/kicker/applets/media/mediumbutton.cpp
@@ -122,8 +122,7 @@ void MediumButton::initPopup()
void MediumButton::refreshType()
{
- KMimeType::Ptr mime = mFileItem.determineMimeType();
- TQToolTip::add(this, mime->comment());
+ TQToolTip::add(this, mFileItem.text());
setIcon(mFileItem.iconName());
}