mirror of
https://github.com/vicr123/theshell.git
synced 2025-01-23 12:12:06 -05:00
Fix DPI settings
This commit is contained in:
parent
e84086cad2
commit
de68e95a8b
1 changed files with 4 additions and 4 deletions
|
@ -3238,28 +3238,28 @@ void InfoPaneDropdown::updateAccentColourBox() {
|
|||
void InfoPaneDropdown::on_dpi100_toggled(bool checked)
|
||||
{
|
||||
if (checked) {
|
||||
sessionSettings->setValue("screen/dpi", 96);
|
||||
settings->setValue("screen/dpi", 96);
|
||||
}
|
||||
}
|
||||
|
||||
void InfoPaneDropdown::on_dpi150_toggled(bool checked)
|
||||
{
|
||||
if (checked) {
|
||||
sessionSettings->setValue("screen/dpi", 144);
|
||||
settings->setValue("screen/dpi", 144);
|
||||
}
|
||||
}
|
||||
|
||||
void InfoPaneDropdown::on_dpi200_toggled(bool checked)
|
||||
{
|
||||
if (checked) {
|
||||
sessionSettings->setValue("screen/dpi", 192);
|
||||
settings->setValue("screen/dpi", 192);
|
||||
}
|
||||
}
|
||||
|
||||
void InfoPaneDropdown::on_dpi300_toggled(bool checked)
|
||||
{
|
||||
if (checked) {
|
||||
sessionSettings->setValue("screen/dpi", 288);
|
||||
settings->setValue("screen/dpi", 288);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue