D24719: Fix laptop screen being off when opening the lid

Roman Gilg noreply at phabricator.kde.org
Thu Oct 17 03:46:50 BST 2019


romangg requested changes to this revision.
romangg added inline comments.
This revision now requires changes to proceed.

INLINE COMMENTS

> config.cpp:88
>  {
> -    const QString openLidFilePath = filePath() % QStringLiteral("_lidOpened");
> +    const QString openLidFilePath = id() % QStringLiteral("_lidOpened");
>      auto config = readFile(openLidFilePath);

Rename variable

> config.cpp:90
>      auto config = readFile(openLidFilePath);
>      QFile::remove(openLidFilePath);
>      return config;

`configsDirPath()` needs to be prepended here now.

REPOSITORY
  R104 KScreen

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

To: nicolasfella, #plasma, romangg
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20191017/3972bee9/attachment.html>


More information about the Plasma-devel mailing list