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

@ -31,7 +31,7 @@ using ObjQt::toQt;
- (QPaintDevice *)qPaintDevice
{
return dynamic_cast<QPaintDevice *>([self qObject]);
return dynamic_cast<QPaintDevice *>(self.qObject);
}
- (int)colorCount