mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 05:08:57 +00:00
Reformat repo to clang-format 7.0 rules
This commit is contained in:
parent
d347867f2e
commit
ff972e3673
208 changed files with 311 additions and 309 deletions
|
@ -44,8 +44,8 @@ void UI::Error(const std::string& text)
|
|||
NSAlert* alert = [[[NSAlert alloc] init] autorelease];
|
||||
|
||||
[alert setMessageText:@"Fatal error"];
|
||||
[alert
|
||||
setInformativeText:[NSString stringWithCString:text.c_str() encoding:NSUTF8StringEncoding]];
|
||||
[alert setInformativeText:[NSString stringWithCString:text.c_str()
|
||||
encoding:NSUTF8StringEncoding]];
|
||||
[alert setAlertStyle:NSAlertStyleCritical];
|
||||
|
||||
[alert beginSheetModalForWindow:GetWindow()
|
||||
|
@ -73,8 +73,8 @@ void UI::SetVisible(bool visible)
|
|||
void UI::SetDescription(const std::string& text)
|
||||
{
|
||||
run_on_main([&] {
|
||||
[GetView()
|
||||
SetDescription:[NSString stringWithCString:text.c_str() encoding:NSUTF8StringEncoding]];
|
||||
[GetView() SetDescription:[NSString stringWithCString:text.c_str()
|
||||
encoding:NSUTF8StringEncoding]];
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue