Add pragma unused

This commit is contained in:
Jonas Kvinge 2021-04-11 19:16:07 +02:00
parent 7d3ceb7d8c
commit efaf917939
1 changed files with 2 additions and 0 deletions

View File

@ -192,6 +192,8 @@ QDebug operator<<(QDebug dbg, NSObject* object) {
- (void)handleURLEvent:(NSAppleEventDescriptor*)theEvent withReplyEvent:(NSAppleEventDescriptor*)replyEvent {
#pragma unused(replyEvent)
NSString *url = [[theEvent paramDescriptorForKeyword:keyDirectObject] stringValue];
application_handler_->LoadUrl(QString::fromNSString(url));