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:
commit
a515cfed60
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user