mirror of
https://github.com/Quill-OS/quill.git
synced 2024-10-31 21:33:22 -07:00
N249: Enable cinematic warmth
This commit is contained in:
parent
2f8f67b9cf
commit
1d6f307a96
2 changed files with 2 additions and 2 deletions
|
@ -710,7 +710,7 @@ void MainWindow::setBatteryIcon() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::setInitialBrightness() {
|
void MainWindow::setInitialBrightness() {
|
||||||
if(global::deviceID == "n873\n") {
|
if(global::deviceID == "n249\n" or global::deviceID == "n873\n") {
|
||||||
int warmth;
|
int warmth;
|
||||||
QString warmthConfig = readFile(".config/03-brightness/config-warmth");
|
QString warmthConfig = readFile(".config/03-brightness/config-warmth");
|
||||||
if(warmthConfig.isEmpty()) {
|
if(warmthConfig.isEmpty()) {
|
||||||
|
|
|
@ -2257,7 +2257,7 @@ void reader::setCinematicBrightnessWarmthSlot() {
|
||||||
log("Local Reading Settings: Setting brightness to " + QString::number(brightness_value), className);
|
log("Local Reading Settings: Setting brightness to " + QString::number(brightness_value), className);
|
||||||
cinematicBrightness(brightness_value, 2);
|
cinematicBrightness(brightness_value, 2);
|
||||||
}
|
}
|
||||||
if(global::deviceID == "n873\n") {
|
if(global::deviceID == "n249\n" or global::deviceID == "n873\n") {
|
||||||
int warmthValue = readFile(".config/03-brightness/config-warmth").toInt();
|
int warmthValue = readFile(".config/03-brightness/config-warmth").toInt();
|
||||||
log("Local Reading Settings: Setting warmth to " + QString::number(warmthValue), className);
|
log("Local Reading Settings: Setting warmth to " + QString::number(warmthValue), className);
|
||||||
cinematicWarmth(warmthValue);
|
cinematicWarmth(warmthValue);
|
||||||
|
|
Loading…
Reference in a new issue