mirror of
https://github.com/Quill-OS/quill.git
synced 2024-12-26 23:57:22 -08:00
Reader framework: Set correct stylesheet for Libra, too
This commit is contained in:
parent
8e29140fac
commit
fa81433f6c
1 changed files with 12 additions and 2 deletions
14
reader.cpp
14
reader.cpp
|
@ -1093,13 +1093,23 @@ void reader::on_optionsBtn_clicked()
|
|||
{
|
||||
if(menubar_shown == true) {
|
||||
menubar_hide();
|
||||
ui->optionsBtn->setStyleSheet("background: white; color: black");
|
||||
if(readFile("/opt/inkbox_device") == "n873\n") {
|
||||
ui->optionsBtn->setStyleSheet("background: white; color: black; padding: 13.5px");
|
||||
}
|
||||
else {
|
||||
ui->optionsBtn->setStyleSheet("background: white; color: black");
|
||||
}
|
||||
this->repaint();
|
||||
menubar_shown = false;
|
||||
}
|
||||
else {
|
||||
menubar_show();
|
||||
ui->optionsBtn->setStyleSheet("background: black; color: white");
|
||||
if(readFile("/opt/inkbox_device") == "n873\n") {
|
||||
ui->optionsBtn->setStyleSheet("background: black; color: white; padding: 13.5px");
|
||||
}
|
||||
else {
|
||||
ui->optionsBtn->setStyleSheet("background: black; color: white");
|
||||
}
|
||||
this->repaint();
|
||||
menubar_shown = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue