2
0
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:
John Preston
2016-08-26 22:49:18 -06:00
parent 993b91ac15
commit fdab386178
66 changed files with 1259 additions and 656 deletions

View File

@@ -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) {