mirror of
https://github.com/Quill-OS/quill.git
synced 2024-12-26 23:57:22 -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
|
||||
string_checkconfig_ro("/opt/inkbox_device");
|
||||
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;
|
||||
stdIconHeight = sH / 16;
|
||||
QPixmap chargingPixmap(":/resources/battery_charging.png");
|
||||
|
|
Loading…
Reference in a new issue