1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

use GlobalAutoAcceptDir only if autosaving enabled

This commit is contained in:
apprb 2014-11-18 00:01:56 +09:00
parent 83de276fe1
commit 827472e3b5
No known key found for this signature in database
GPG Key ID: B001911B5B22FB9B

View File

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