mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
parent
693e8d8443
commit
d14e93ef91
|
@ -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