mirror of
https://github.com/feather-wallet/feather.git
synced 2024-11-01 09:57:46 +00:00
29 lines
1.1 KiB
Diff
29 lines
1.1 KiB
Diff
|
diff --git a/src/plugins/platforms/cocoa/qcocoaintegration.h b/src/plugins/platforms/cocoa/qcocoaintegration.h
|
||
|
index 256b7b36ad..c6d73e3c06 100644
|
||
|
--- a/src/plugins/platforms/cocoa/qcocoaintegration.h
|
||
|
+++ b/src/plugins/platforms/cocoa/qcocoaintegration.h
|
||
|
@@ -90,7 +90,6 @@ public:
|
||
|
void clearToolbars();
|
||
|
|
||
|
void setApplicationIcon(const QIcon &icon) const override;
|
||
|
- void setApplicationBadge(qint64 number) override;
|
||
|
|
||
|
void beep() const override;
|
||
|
void quit() const override;
|
||
|
diff --git a/src/plugins/platforms/cocoa/qcocoaintegration.mm b/src/plugins/platforms/cocoa/qcocoaintegration.mm
|
||
|
index 2ec225cbea..b17ab38b10 100644
|
||
|
--- a/src/plugins/platforms/cocoa/qcocoaintegration.mm
|
||
|
+++ b/src/plugins/platforms/cocoa/qcocoaintegration.mm
|
||
|
@@ -438,11 +438,6 @@ void QCocoaIntegration::setApplicationIcon(const QIcon &icon) const
|
||
|
NSApp.applicationIconImage = [NSImage imageFromQIcon:icon withSize:fallbackSize];
|
||
|
}
|
||
|
|
||
|
-void QCocoaIntegration::setApplicationBadge(qint64 number)
|
||
|
-{
|
||
|
- NSApp.dockTile.badgeLabel = number ? [NSString stringWithFormat:@"%" PRId64, number] : nil;
|
||
|
-}
|
||
|
-
|
||
|
void QCocoaIntegration::beep() const
|
||
|
{
|
||
|
NSBeep();
|