mirror of
https://github.com/Quill-OS/quill.git
synced 2024-12-27 16:17:21 -08:00
Disable brightness button for N705
This commit is contained in:
parent
3a7eb05ae3
commit
d07080ec84
1 changed files with 5 additions and 0 deletions
|
@ -81,6 +81,11 @@ MainWindow::MainWindow(QWidget *parent)
|
||||||
// Battery
|
// Battery
|
||||||
string_checkconfig_ro("/opt/inkbox_device");
|
string_checkconfig_ro("/opt/inkbox_device");
|
||||||
if(checkconfig_str_val == "n705\n") {
|
if(checkconfig_str_val == "n705\n") {
|
||||||
|
// Hide brightness controls; they won't be very useful there anyway...
|
||||||
|
ui->brightnessBtn->hide();
|
||||||
|
ui->line_7->hide();
|
||||||
|
|
||||||
|
// Setting icons up
|
||||||
stdIconWidth = sW / 16;
|
stdIconWidth = sW / 16;
|
||||||
stdIconHeight = sH / 16;
|
stdIconHeight = sH / 16;
|
||||||
QPixmap chargingPixmap(":/resources/battery_charging.png");
|
QPixmap chargingPixmap(":/resources/battery_charging.png");
|
||||||
|
|
Loading…
Reference in a new issue