mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 18:50:44 +00:00
Fix one more warning. setChecked() only takes a boolean, Qt::Checked/Unchecked are only used for tri-state checkboxes.
This commit is contained in:
parent
e47660e15a
commit
fb29ce0222
@ -424,7 +424,7 @@ Daily::Daily(QWidget *parent,gGraphView * shared)
|
||||
GraphView->setEmptyText(STR_Empty_NoData);
|
||||
previous_date=QDate();
|
||||
|
||||
ui->calButton->setChecked(AppSetting->calendarVisible() ? Qt::Checked : Qt::Unchecked);
|
||||
ui->calButton->setChecked(AppSetting->calendarVisible() ? true : false);
|
||||
on_calButton_toggled(AppSetting->calendarVisible());
|
||||
|
||||
GraphView->resetLayout();
|
||||
|
Loading…
Reference in New Issue
Block a user