From 7390d40f774d7533389294ee356e8c29ccebdbe9 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 5 Feb 2022 17:47:46 +0900 Subject: Kicker storage applet: display more useful information on the tooltip of each device. Signed-off-by: Michele Calgaro --- kicker/applets/media/mediumbutton.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'kicker/applets/media/mediumbutton.cpp') 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()); } -- cgit v1.2.1