mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-05 09:05:14 +00:00
New profile photo edit by drag-n-drop. Animated photo button.
This commit is contained in:
@@ -898,8 +898,12 @@ void psSendToMenu(bool send, bool silent) {
|
||||
void psUpdateOverlayed(QWidget *widget) {
|
||||
}
|
||||
|
||||
QString psConvertFileUrl(const QString &url) {
|
||||
return objc_convertFileUrl(url);
|
||||
QString psConvertFileUrl(const QUrl &url) {
|
||||
auto urlString = url.toLocalFile();
|
||||
if (urlString.startsWith(qsl("/.file/id="))) {
|
||||
return objc_convertFileUrl(urlString);
|
||||
}
|
||||
return urlString;
|
||||
}
|
||||
|
||||
void psDownloadPathEnableAccess() {
|
||||
|
Reference in New Issue
Block a user