Skip to content

Commit

Permalink
Merge pull request #4 from adriweb/patch-1
Browse files Browse the repository at this point in the history
Fix Qt 5.15 compatibility changes
  • Loading branch information
cschleifenbaum committed Jun 2, 2020
2 parents a7db88b + 079fe84 commit d4b2d19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/kdmactouchbar.mm
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
#else
// defined in gui/painting/qcoregraphics.mm
@interface NSImage (QtExtras)
+ (instancetype)imageFromQIcon:(const QIcon &)icon
+ (instancetype)imageFromQIcon:(const QIcon &)icon;
@end
NSImage *qt_mac_create_nsimage(const QIcon &icon)
static NSImage *qt_mac_create_nsimage(const QIcon &icon)
{
return [NSImage imageFromQIcon:icon];
}
Expand Down

0 comments on commit d4b2d19

Please sign in to comment.