See KScreen::Output::hashMd5
| 27 | |
| 28 | /// See KScreen::Output::hashMd5 |
| 29 | static QString outputHash(BackendOutput *output) |
| 30 | { |
| 31 | if (!output->edid().hash().isEmpty()) { |
| 32 | return output->edid().hash(); |
| 33 | } else { |
| 34 | return output->name(); |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | /// See KScreen::Config::connectedOutputsHash in libkscreen |
| 39 | static QString connectedOutputsHash(const QList<BackendOutput *> &outputs, bool isLidClosed) |
no test coverage detected