diff --git a/functions.h b/functions.h index 6c8ea7d..d3eb55d 100644 --- a/functions.h +++ b/functions.h @@ -10,6 +10,7 @@ #include #include #include +#include #include #include @@ -513,7 +514,7 @@ namespace { defaultEpubPageHeight = 425; defaultEpubPageWidth = 425; } - if(checkconfig_str_val == "n613\n") { + if(checkconfig_str_val == "n613\n" or checkconfig_str_val == "emu\n") { defaultEpubPageHeight = 450; defaultEpubPageWidth = 450; } @@ -528,7 +529,7 @@ namespace { defaultPdfPageHeight = 750; defaultPdfPageWidth = 550; } - else if(checkconfig_str_val == "n613\n") { + else if(checkconfig_str_val == "n613\n" or checkconfig_str_val == "emu\n") { defaultPdfPageHeight = 974; defaultPdfPageWidth = 708; } diff --git a/mainwindow.cpp b/mainwindow.cpp index 5bbd8f7..bdf287a 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -87,7 +87,7 @@ MainWindow::MainWindow(QWidget *parent) wifiIconWidth = sW / 22.5; wifiIconHeight = sH / 22.5; } - else if(checkconfig_str_val == "n613\n") { + else if(checkconfig_str_val == "n613\n" or checkconfig_str_val == "emu\n") { stdIconWidth = sW / 12.5; stdIconHeight = sH / 12.5; brightnessIconWidth = sW / 24.5;