D28862: [Extractor] Remove IdleStateMonitor wrapper class

2020-04-16 Thread Stefan Brüns
This revision was automatically updated to reflect the committed changes. Closed by commit R293:bd502bf0af46: [Extractor] Remove IdleStateMonitor wrapper class (authored by bruns). REPOSITORY R293 Baloo CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D28862?vs=80295=80298 REVISION

D28862: [Extractor] Remove IdleStateMonitor wrapper class

2020-04-16 Thread Nathaniel Graham
ngraham accepted this revision. This revision is now accepted and ready to land. REPOSITORY R293 Baloo BRANCH master REVISION DETAIL https://phabricator.kde.org/D28862 To: bruns, #baloo, ngraham Cc: broulik, kde-frameworks-devel, hurikhan77, lots0logs, LeGast00n, cblack, fbampaloukas,

D28862: [Extractor] Remove IdleStateMonitor wrapper class

2020-04-16 Thread Stefan Brüns
bruns updated this revision to Diff 80295. bruns added a comment. add line break before closing brace in lambda, use 2 minutes REPOSITORY R293 Baloo CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D28862?vs=80236=80295 BRANCH master REVISION DETAIL

D28862: [Extractor] Remove IdleStateMonitor wrapper class

2020-04-16 Thread Stefan Brüns
bruns added inline comments. INLINE COMMENTS > broulik wrote in app.cpp:63 > Coding style Side note - both the Frameworks and the reference Qt coding style say nothing about lambdas. If you read the `connect(...);` as a single statement, it should stay as is. If you read the lambda as a

D28862: [Extractor] Remove IdleStateMonitor wrapper class

2020-04-16 Thread Stefan Brüns
bruns marked an inline comment as done. REPOSITORY R293 Baloo REVISION DETAIL https://phabricator.kde.org/D28862 To: bruns, #baloo, ngraham Cc: broulik, kde-frameworks-devel, hurikhan77, lots0logs, LeGast00n, cblack, fbampaloukas, domson, ashaposhnikov, michaelh, astippich, spoorun,

D28862: [Extractor] Remove IdleStateMonitor wrapper class

2020-04-16 Thread Stefan Brüns
bruns added a comment. In D28862#649411 , @broulik wrote: > It used to be 2 minutes, now it's 1? It used to be infinity ... 1 minute is completely sufficient. INLINE COMMENTS > broulik wrote in app.cpp:59 > Why the member variable? It's

D28862: [Extractor] Remove IdleStateMonitor wrapper class

2020-04-16 Thread Kai Uwe Broulik
broulik added a comment. It used to be 2 minutes, now it's 1? INLINE COMMENTS > app.cpp:59 > +static int s_idleTimeout = 1000 * 60; // 1 min > +m_idleTime = KIdleTime::instance(); > +m_idleTime->addIdleTimeout(s_idleTimeout); Why the member variable? It's a singleton after all

D28862: [Extractor] Remove IdleStateMonitor wrapper class

2020-04-15 Thread Stefan Brüns
bruns added a dependent revision: D28863: [Extractor] Fix idle monitoring. REPOSITORY R293 Baloo REVISION DETAIL https://phabricator.kde.org/D28862 To: bruns, #baloo, ngraham Cc: kde-frameworks-devel, hurikhan77, lots0logs, LeGast00n, cblack, fbampaloukas, domson, ashaposhnikov, michaelh,

D28862: [Extractor] Remove IdleStateMonitor wrapper class

2020-04-15 Thread Stefan Brüns
bruns created this revision. bruns added reviewers: Baloo, ngraham. Herald added projects: Frameworks, Baloo. Herald added a subscriber: kde-frameworks-devel. bruns requested review of this revision. REVISION SUMMARY IdleStateMonitor is just a wrapper around KIdleTime, which can be