mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-29 17:32:17 -07:00
interface() is a protected keyword for MSVC
Took 5 minutes Took 5 seconds
This commit is contained in:
parent
53b9ba0976
commit
84c8743fe3
25 changed files with 129 additions and 129 deletions
|
|
@ -80,12 +80,12 @@ GameSelector::GameSelector(AbstractClient *_client,
|
|||
if (showFilters && restoresettings) {
|
||||
quickFilterToolBar = new GameSelectorQuickFilterToolBar(this, tabSupervisor, gameListProxyModel, gameTypeMap);
|
||||
quickFilterToolBar->setVisible(showFilters && restoresettings &&
|
||||
SettingsCache::instance().interface().getShowGameSelectorFilterToolbar());
|
||||
SettingsCache::instance().userInterface().getShowGameSelectorFilterToolbar());
|
||||
|
||||
connect(&SettingsCache::instance().interface(), &InterfaceSettings::showGameSelectorFilterToolbarChanged, this,
|
||||
[this] {
|
||||
connect(&SettingsCache::instance().userInterface(), &InterfaceSettings::showGameSelectorFilterToolbarChanged,
|
||||
this, [this] {
|
||||
quickFilterToolBar->setVisible(
|
||||
SettingsCache::instance().interface().getShowGameSelectorFilterToolbar());
|
||||
SettingsCache::instance().userInterface().getShowGameSelectorFilterToolbar());
|
||||
});
|
||||
} else {
|
||||
quickFilterToolBar = nullptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue