mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 15:06:08 +03:00
Convert directly from QUrl to NSURL
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
ff1fbdacf2
commit
298a0f4dfb
1 changed files with 1 additions and 2 deletions
|
@ -270,8 +270,7 @@ SparkleUpdater::~SparkleUpdater() = default;
|
|||
|
||||
void SparkleUpdater::setUpdateUrl(const QUrl &url)
|
||||
{
|
||||
NSURL* nsurl = [NSURL URLWithString:url.toString().toNSString()];
|
||||
[_interface->updater setFeedURL: nsurl];
|
||||
[_interface->updater setFeedURL:url.toNSURL()];
|
||||
}
|
||||
|
||||
bool SparkleUpdater::autoUpdaterAllowed()
|
||||
|
|
Loading…
Reference in a new issue