mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-01 07:05:13 +00:00
Most of the new Settings are done.
Left: auto update, privacy and security, local storage box + some minor things, like design fixes, codes like loadlang and clearing of the local storage (box) and temp download folder.
This commit is contained in:
@@ -773,17 +773,17 @@ PeerData *MediaView::ui_getPeerForMouseAction() {
|
||||
}
|
||||
|
||||
void MediaView::onDownload() {
|
||||
if (cAskDownloadPath()) {
|
||||
if (Global::AskDownloadPath()) {
|
||||
return onSaveAs();
|
||||
}
|
||||
|
||||
QString path;
|
||||
if (cDownloadPath().isEmpty()) {
|
||||
if (Global::DownloadPath().isEmpty()) {
|
||||
path = psDownloadPath();
|
||||
} else if (cDownloadPath() == qsl("tmp")) {
|
||||
} else if (Global::DownloadPath() == qsl("tmp")) {
|
||||
path = cTempDir();
|
||||
} else {
|
||||
path = cDownloadPath();
|
||||
path = Global::DownloadPath();
|
||||
}
|
||||
QString toName;
|
||||
if (_doc) {
|
||||
|
Reference in New Issue
Block a user