[Differential] [Commented On] D3131: Show full scrollbar only on mouse over

hpereiradacosta (Hugo Pereira Da Costa) noreply at phabricator.kde.org
Mon Oct 31 15:47:12 UTC 2016


hpereiradacosta added a comment.


  Hi Marco, 
  Two problems with the commit: 
  1/ it does not compile under kde4 (and we are still maintaining a kde4 and a kf5 version)
  
  breezestyle.cpp:6652:26: error: ‘const class QStyleOptionSlider’ has no member named ‘styleObject’
  
    else if( option->styleObject ) widgetMouseOver = option->styleObject->property("hover").toBool();
  
  I can easily fix that.
  
  2/ there are warnings:
  
  /home/hpereira/kf5/src/kde/workspace/breeze/kstyle/breezestyle.cpp:6719:24: warning: unused variable ‘mouseOver’ [-Wunused-variable]
  
    const bool mouseOver( ( option->state & State_MouseOver ) );
               ^
  
  /home/hpereira/kf5/src/kde/workspace/breeze/kstyle/breezestyle.cpp:6724:18: warning: ‘widgetMouseOver’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  
    else if( !widgetMouseOver ) return Qt::transparent;
  
  Here I think this is because the first mouseOver should be widgetMouseOver, but  I am not sure. Can you double check ?

REPOSITORY
  rBREEZE Breeze

REVISION DETAIL
  https://phabricator.kde.org/D3131

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: mart, #plasma, #breeze, #vdg, hpereiradacosta
Cc: plasma-devel, abetts, lesliezhai, ali-mohamed, jensreuterberg, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20161031/6c7c3f22/attachment.html>


More information about the Plasma-devel mailing list