From 827472e3b5fdeb4419ce5dda90c73f75495a2bd6 Mon Sep 17 00:00:00 2001 From: apprb Date: Tue, 18 Nov 2014 00:01:56 +0900 Subject: [PATCH] use GlobalAutoAcceptDir only if autosaving enabled --- src/filetransferinstance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filetransferinstance.cpp b/src/filetransferinstance.cpp index 2c50e2d46..bf690cdd1 100644 --- a/src/filetransferinstance.cpp +++ b/src/filetransferinstance.cpp @@ -212,7 +212,7 @@ void FileTransferInstance::acceptRecvRequest() { QString path = Settings::getInstance().getAutoAcceptDir(FriendList::findFriend(friendId)->getToxID()); - if (path.isEmpty()) + if (path.isEmpty() && Settings::getInstance().getAutoSaveEnabled()) path = Settings::getInstance().getGlobalAutoAcceptDir(); if (!path.isEmpty())