diff --git a/sources/configdialog.cpp b/sources/configdialog.cpp index 7cd3e56be..d890548ba 100644 --- a/sources/configdialog.cpp +++ b/sources/configdialog.cpp @@ -36,7 +36,7 @@ ConfigDialog::ConfigDialog(QWidget *parent) : QDialog(parent) { // liste des pages pages_list = new QListWidget(); pages_list -> setViewMode(QListView::IconMode); - if(mymachineinfo->get_max_screen_height()<1000){ + if(mymachineinfo->i_max_screen_height()<1000){ pages_list -> setIconSize(QSize(64, 64)); } else { pages_list -> setIconSize(QSize(128, 128)); @@ -80,8 +80,8 @@ ConfigDialog::ConfigDialog(QWidget *parent) : QDialog(parent) { connect(pages_list, SIGNAL(currentRowChanged(int)), pages_widget, SLOT(setCurrentIndex(int))); - resize(mymachineinfo->get_max_screen_width(), - mymachineinfo->get_max_screen_height()); + resize(mymachineinfo->i_max_screen_width(), + mymachineinfo->i_max_screen_height()); #ifdef Q_OS_MACOS if (parent) { diff --git a/sources/machine_info.h b/sources/machine_info.h index 30d9c18fb..86c89183a 100644 --- a/sources/machine_info.h +++ b/sources/machine_info.h @@ -29,8 +29,8 @@ class Machine_info : public QObject Q_OBJECT public: explicit Machine_info(QObject *parent = nullptr); - int32_t get_max_screen_width(); - int32_t get_max_screen_height(); + int32_t i_max_screen_width(); + int32_t i_max_screen_height(); signals: