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

Merge remote-tracking branch 'antis81/ngf/fix/file-transfer-dlg'

This commit is contained in:
agilob 2015-09-13 22:56:32 +01:00
commit a515cfed60
No known key found for this signature in database
GPG Key ID: 296F0B764741106C

View File

@ -475,7 +475,7 @@ void FileTransferWidget::handleButton(QPushButton *btn)
Core::getInstance()->pauseResumeFileRecv(fileInfo.friendId, fileInfo.fileNum);
else if (btn->objectName() == "accept")
{
QString path = QFileDialog::getSaveFileName(this,
QString path = QFileDialog::getSaveFileName(parentWidget(),
tr("Save a file", "Title of the file saving dialog"),
Settings::getInstance().getGlobalAutoAcceptDir() + "/" + fileInfo.fileName);
acceptTransfer(path);