Bug 249086 - Activating the "Show tooltips" option doesn't work
Summary: Activating the "Show tooltips" option doesn't work
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: Playlist/Playlist Layout Editor (show other bugs)
Version: 2.3.1-GIT
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: 2.3.2
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-26 10:14 UTC by Myriam Schweingruber
Modified: 2010-08-26 23:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.3.2
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Myriam Schweingruber 2010-08-26 10:14:35 UTC
Activating "Show tooltips" in the Playlist Layout Editor should show tooltips in the playlist, but it doesn't work.
Comment 1 Nikolaj Hald Nielsen 2010-08-26 21:18:14 UTC
commit cb93a4df59e4bb15fc1c4d7e3e93f8e5be6ae9fb
Author: Nikolaj Hald Nielsen <nhn@kde.org>
Date:   Thu Aug 26 21:17:39 2010 +0200

    Revert "Mouse tracking is not needed in the pretty list view" as it _is_ needed for the playlist tooltips! ;-)
    
    This reverts commit d5133e67a81a1f0fe65c01be9c0b3614ea566ec8.
    
    BUG: 249086

diff --git a/src/playlist/view/listview/PrettyListView.cpp b/src/playlist/view/listview/PrettyListView.cpp
index 4be07b6..ca3d580 100644
--- a/src/playlist/view/listview/PrettyListView.cpp
+++ b/src/playlist/view/listview/PrettyListView.cpp
@@ -88,8 +88,12 @@ Playlist::PrettyListView::PrettyListView( QWidget* parent )
     setDropIndicatorShown( false ); // we draw our own drop indicator
     setEditTriggers ( SelectedClicked | EditKeyPressed );
     setAutoScroll( true );
+
     setVerticalScrollMode( ScrollPerPixel );
 
+    setMouseTracking( true );
+
+
     // Rendering adjustments
     setFrameShape( QFrame::NoFrame );
     setAlternatingRowColors( true) ;