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:
parent
83de276fe1
commit
827472e3b5
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue
Block a user