Skip to content
Snippets Groups Projects
Commit 738c22eb authored by akiraohgaki's avatar akiraohgaki
Browse files

Drop deprecated xdg scheme

parent 4cbfc475
No related branches found
No related tags found
No related merge requests found
......@@ -112,8 +112,7 @@ void ItemHandler::getItemByOcsUrl(const QString &ocsUrl, const QString &provider
filename = QUrl(url).fileName();
}
// Still support xdg and xdgs schemes for backward compatibility
if ((scheme == "ocs" || scheme == "ocss" || scheme == "xdg" || scheme == "xdgs")
if ((scheme == "ocs" || scheme == "ocss")
&& (command == "download" || command == "install")
&& QUrl(url).isValid()
&& configHandler_->getAppConfigInstallTypes().contains(type)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment