mirror of
https://github.com/Quill-OS/quill.git
synced 2024-12-26 23:57:22 -08:00
Scaling fixes for Glo HD
This commit is contained in:
parent
f19a654f11
commit
1c7fb23d0d
3 changed files with 3 additions and 4 deletions
|
@ -66,8 +66,8 @@ localLibraryWidget::localLibraryWidget(QWidget *parent) :
|
|||
stdIconHeightDivider = 8.7;
|
||||
}
|
||||
else if(global::deviceID == "n437\n") {
|
||||
stdIconWidthDivider = 8;
|
||||
stdIconHeightDivider = 8;
|
||||
stdIconWidthDivider = 8.1;
|
||||
stdIconHeightDivider = 8.1;
|
||||
}
|
||||
else if(global::deviceID == "n873\n") {
|
||||
stdIconWidthDivider = 9.7;
|
||||
|
|
|
@ -36,7 +36,7 @@ quit::quit(QWidget *parent) :
|
|||
float stdIconHeight = sH / 1.25;
|
||||
|
||||
QPixmap pixmap(":/resources/exit.png");
|
||||
QPixmap scaledPixmap = pixmap.scaled(stdIconWidth, stdIconHeight, Qt::KeepAspectRatio);
|
||||
QPixmap scaledPixmap = pixmap.scaled(stdIconWidth, stdIconHeight, Qt::KeepAspectRatio, Qt::SmoothTransformation);
|
||||
ui->label->setPixmap(scaledPixmap);
|
||||
|
||||
if(checkconfig("/mnt/onboard/.adds/inkbox/.config/20-sleep_daemon/9-deepSleep") == true) {
|
||||
|
|
|
@ -174,7 +174,6 @@ void wifilogger::getWifiInformation() {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
void wifilogger::on_returnBtn_clicked()
|
||||
{
|
||||
log("Exiting wifilogger", className);
|
||||
|
|
Loading…
Reference in a new issue