D20622: Initialise the orientation sensor at start

Vlad Zagorodniy <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
zzag added inline comments.

INLINE COMMENTS

> orientation_sensor.cpp:100
>          m_sni->setToolTipTitle(i18n("Automatic screen rotation is enabled"));
> +        emit updateState();
>      } else {

> emit

Hmm, is it a typo?

Also, is there a reason why updateState should be called here (and not in setEnabled)?

REPOSITORY
  R108 KWin

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

To: apol, #plasma, #kwin
Cc: zzag, kwin, jraleigh, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, alexeymin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.