[Differential] [Accepted] D4012: Introduce Units singleton

2017-01-08 Thread markg (Mark Gaiser)
markg accepted this revision. markg added a comment. This revision is now accepted and ready to land. Looks nice and clean to me now :) Nice job! REPOSITORY R242 Plasma Frameworks REVISION DETAIL https://phabricator.kde.org/D4012 EMAIL PREFERENCES https://phabricator.kde.org/settings

[Differential] [Changed Subscribers] D4019: [ToolTipDialog] Use KWindowSystem::isPlatformX11() which is cached

2017-01-08 Thread markg (Mark Gaiser)
markg added inline comments. INLINE COMMENTS > tooltipdialog.cpp:116-118 > +if (KWindowSystem::isPlatformX11()) { > flags = flags | Qt::BypassWindowManagerHint; > } Isn't this redundant anyway? It's being set in the constructor as well. The constructor only deviates in initial

[Differential] [Requested Changes To] D4012: Introduce Units singleton

2017-01-08 Thread markg (Mark Gaiser)
markg requested changes to this revision. markg added a reviewer: markg. markg added inline comments. This revision now requires changes to proceed. INLINE COMMENTS > units.cpp:61 > SharedAppFilter *Units::s_sharedAppFilter = nullptr; > +Units *Units::s_self = nullptr; > Remove this line if y

[Differential] [Changed Subscribers] D1366: Add Event Sounds stream to Applications list

2016-05-15 Thread markg (Mark Gaiser)
markg added inline comments. INLINE COMMENTS src/context.cpp:424 You can merge this one and the earlier isNew i think. Something like: ``` auto result = m_sinkInputs.data().constFind(eventRoleIndex); if (result == m_sinkInputs.data().constEnd()) { emit m_sinkInputs.added(