mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-16 11:19:18 +01:00
Maybe fix mac crash.
This commit is contained in:
parent
99e2bb3e06
commit
300772ad89
@ -80,7 +80,6 @@ class MacSystemTrayIconPrivate : boost::noncopyable {
|
||||
|
||||
void ActionChanged(QAction* action) {
|
||||
NSMenuItem* item = actions_[action];
|
||||
[[item title] release];
|
||||
NSString* title = [[NSString alloc] initWithUTF8String: action->text().toUtf8().constData()];
|
||||
[item setTitle:title];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user