mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-19 00:42:14 -07:00
Overload for Qt.
This commit is contained in:
parent
66092b102c
commit
b82984f686
1 changed files with 2 additions and 2 deletions
|
|
@ -359,8 +359,8 @@ AppearanceSettingsPage::AppearanceSettingsPage()
|
||||||
visualDeckStorageUnusedColorIdentitiesOpacitySpinBox.setMaximum(100);
|
visualDeckStorageUnusedColorIdentitiesOpacitySpinBox.setMaximum(100);
|
||||||
visualDeckStorageUnusedColorIdentitiesOpacitySpinBox.setValue(
|
visualDeckStorageUnusedColorIdentitiesOpacitySpinBox.setValue(
|
||||||
settings.getVisualDeckStorageUnusedColorIdentitiesOpacity());
|
settings.getVisualDeckStorageUnusedColorIdentitiesOpacity());
|
||||||
connect(&visualDeckStorageUnusedColorIdentitiesOpacitySpinBox, &QSpinBox::valueChanged, &settings,
|
connect(&visualDeckStorageUnusedColorIdentitiesOpacitySpinBox, QOverload<int>::of(&QSpinBox::valueChanged),
|
||||||
&SettingsCache::setVisualDeckStorageUnusedColorIdentitiesOpacity);
|
&settings, &SettingsCache::setVisualDeckStorageUnusedColorIdentitiesOpacity);
|
||||||
|
|
||||||
visualDeckStorageUnusedColorIdentitiesOpacityLabel.setBuddy(&visualDeckStorageUnusedColorIdentitiesOpacitySpinBox);
|
visualDeckStorageUnusedColorIdentitiesOpacityLabel.setBuddy(&visualDeckStorageUnusedColorIdentitiesOpacitySpinBox);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue