mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
Reformat repo to clang-format 7.0 rules
This commit is contained in:
@ -16,8 +16,7 @@
|
||||
|
||||
@implementation AppDelegate
|
||||
|
||||
- (void)applicationDidFinishLaunching:(NSNotification*)aNotification
|
||||
{
|
||||
- (void)applicationDidFinishLaunching:(NSNotification*)aNotification {
|
||||
NSArray* arguments = [[NSProcessInfo processInfo] arguments];
|
||||
|
||||
__block std::vector<std::string> args;
|
||||
@ -33,8 +32,7 @@
|
||||
});
|
||||
}
|
||||
|
||||
- (void)applicationWillTerminate:(NSNotification*)aNotification
|
||||
{
|
||||
- (void)applicationWillTerminate:(NSNotification*)aNotification {
|
||||
}
|
||||
|
||||
@end
|
||||
|
@ -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]];
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user