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
|
|
@ -295,7 +295,7 @@ int main(int argc, char *argv[])
|
|||
|
||||
// force shortcuts to be shown/hidden in right-click menus, regardless of system defaults
|
||||
qApp->setAttribute(Qt::AA_DontShowShortcutsInContextMenus,
|
||||
!SettingsCache::instance().interface().getShowShortcuts());
|
||||
!SettingsCache::instance().userInterface().getShowShortcuts());
|
||||
|
||||
#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0))
|
||||
app.setAttribute(Qt::AA_UseHighDpiPixmaps);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue