D16425: Added new Suspend then Hibernate option

2019-06-05 Thread Ambareesh Balaji
abalaji added inline comments. INLINE COMMENTS > avaldes wrote in suspendsessionconfig.cpp:45 > something like this? > > : ActionConfig(parent), > m_suspendThenHibernateEnabled(nullptr) Yeah exactly. So a subtle detail of C++ constructors is any data members which are not primitive (like

D16425: Added new Suspend then Hibernate option

2019-06-04 Thread Ambareesh Balaji
abalaji added inline comments. INLINE COMMENTS > suspendsessionconfig.cpp:45 > { > - > +m_suspendThenHibernateEnabled = nullptr; > } Move this to the initializer REPOSITORY R122 Powerdevil BRANCH arcpatch-D16425_1 REVISION DETAIL https://phabricator.kde.org/D16425 To: avaldes, br

D16425: Added new Suspend then Hibernate option

2019-06-03 Thread Ambareesh Balaji
abalaji added inline comments. INLINE COMMENTS > suspendsessionconfig.cpp:122 > +int comboBoxMaxWidth = 300; > +if (m_suspendThenHibernateEnabled) { > +comboBoxMaxWidth = qMax(comboBoxMaxWidth, > m_suspendThenHibernateEnabled->sizeHint().width()); After doing the above, this if

D16425: Added new Suspend then Hibernate option

2019-05-29 Thread Ambareesh Balaji
abalaji added inline comments. INLINE COMMENTS > suspendsession.cpp:137 > Q_EMIT aboutToSuspend(); > -suspendJob = > backend()->suspend(PowerDevil::BackendInterface::ToRam); > +if (m_suspendThenHibernateEnabled) { > +suspendJob = > backend()-

D15942: Don't drag windows in empty areas from touch/pen events

2018-10-05 Thread Ambareesh Balaji
abalaji added a comment. @davidedmundson awesome! I've been running around in circles trying to find this, glad that you fixed it! Although I'm the future we should support this properly. REPOSITORY R31 Breeze REVISION DETAIL https://phabricator.kde.org/D15942 To: davidedmundson, #plas