mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 06:55:59 +03:00
Merge pull request #5127 from nextcloud/bugfix/remove-unused-app-ptr
Remove unused app pointer in CocoaInitializer
This commit is contained in:
commit
4c32d54dfb
1 changed files with 0 additions and 1 deletions
|
@ -58,7 +58,6 @@
|
|||
- (void)handleURLEvent:(NSAppleEventDescriptor *)event withReplyEvent:(NSAppleEventDescriptor *)replyEvent
|
||||
{
|
||||
NSURL* url = [NSURL URLWithString:[[event paramDescriptorForKeyword:keyDirectObject] stringValue]];
|
||||
const auto app = qobject_cast<OCC::Application *>(QApplication::instance());
|
||||
const auto qtUrl = QUrl::fromNSURL(url);
|
||||
OCC::EditLocallyManager::instance()->editLocally(qtUrl);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue