Use dot syntax

This commit is contained in:
Jonathan Schleifer 2019-03-15 01:07:00 +01:00
parent e5a0058952
commit 5b48e3eb1e
No known key found for this signature in database
GPG key ID: 79D21189A2D4708D
31 changed files with 98 additions and 90 deletions

View file

@ -36,8 +36,10 @@
@property (nonatomic, copy) OFString *styleSheet;
@property (nonatomic) int wheelScrollLines;
- initWithQGuiApplication: (QGuiApplication *)qGuiApplication OF_UNAVAILABLE;
- initWithQApplication: (QApplication *)qApplication OF_DESIGNATED_INITIALIZER;
- (instancetype)initWithQGuiApplication: (QGuiApplication *)qGuiApplication
OF_UNAVAILABLE;
- (instancetype)initWithQApplication: (QApplication *)qApplication
OF_DESIGNATED_INITIALIZER;
- (void)aboutQt;
- (void)closeAllWindows;
@end
@ -57,7 +59,7 @@ toOF(QApplication *qApplication)
static OF_INLINE QApplication *
toQt(QtApplication *application)
{
return [application qApplication];
return application.qApplication;
}
}