mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-21 09:49:21 +00:00
UI/AppKit: Re-order field designators to be in declaration order
This is required by C++, but for some reason, only started causing a compiler error today.
This commit is contained in:
parent
7df4365e40
commit
9cd34a7d80
Notes:
github-actions[bot]
2024-09-08 07:49:15 +00:00
Author: https://github.com/trflynn89
Commit: 9cd34a7d80
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1319
1 changed files with 1 additions and 1 deletions
|
@ -93,8 +93,8 @@ static NSString* const TOOLBAR_TAB_OVERVIEW_IDENTIFIER = @"ToolbarTabOverviewIde
|
||||||
[self.toolbar setSizeMode:NSToolbarSizeModeRegular];
|
[self.toolbar setSizeMode:NSToolbarSizeModeRegular];
|
||||||
|
|
||||||
m_settings = {
|
m_settings = {
|
||||||
.block_popups = WebView::Application::chrome_options().allow_popups == WebView::AllowPopups::Yes ? NO : YES,
|
|
||||||
.scripting_enabled = WebView::Application::chrome_options().disable_scripting == WebView::DisableScripting::Yes ? NO : YES,
|
.scripting_enabled = WebView::Application::chrome_options().disable_scripting == WebView::DisableScripting::Yes ? NO : YES,
|
||||||
|
.block_popups = WebView::Application::chrome_options().allow_popups == WebView::AllowPopups::Yes ? NO : YES,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (auto const& user_agent_preset = WebView::Application::web_content_options().user_agent_preset; user_agent_preset.has_value())
|
if (auto const& user_agent_preset = WebView::Application::web_content_options().user_agent_preset; user_agent_preset.has_value())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue