mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
FileTransferWidget::acceptTransfer: Regression - check whether the path
is NOT writable
This commit is contained in:
parent
a0693c2fc9
commit
1ae3999576
|
@ -94,7 +94,7 @@ void FileTransferWidget::autoAcceptTransfer(const QString &path)
|
|||
void FileTransferWidget::acceptTransfer(const QString &filepath)
|
||||
{
|
||||
//test if writable
|
||||
if(isFilePathWritable(filepath))
|
||||
if(!isFilePathWritable(filepath))
|
||||
{
|
||||
QMessageBox::warning(0,
|
||||
tr("Location not writable","Title of permissions popup"),
|
||||
|
|
Loading…
Reference in New Issue
Block a user