Skip to content

Commit 024630c

Browse files
committed
fix formatting
1 parent b248d30 commit 024630c

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

src/platform/macos.mm

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,16 @@
33
#include <QDebug>
44
#include <QMainWindow>
55

6-
void setupMacOSWindow(QMainWindow *window) {
6+
void setupMacOSWindow(QMainWindow *window)
7+
{
78
window->setUnifiedTitleAndToolBarOnMac(true);
89

9-
NSView* nativeView = reinterpret_cast<NSView*>(window->winId());
10-
NSWindow* nativeWindow = [nativeView window];
10+
NSView *nativeView = reinterpret_cast<NSView *>(window->winId());
11+
NSWindow *nativeWindow = [nativeView window];
1112

12-
[nativeWindow setStyleMask:[nativeWindow styleMask] | NSWindowStyleMaskFullSizeContentView | NSWindowTitleHidden];
13+
[nativeWindow setStyleMask:[nativeWindow styleMask] |
14+
NSWindowStyleMaskFullSizeContentView |
15+
NSWindowTitleHidden];
1316
[nativeWindow setTitlebarAppearsTransparent:YES];
1417
[nativeWindow center];
1518
}

0 commit comments

Comments
 (0)