1
0
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:
krepa098 2015-01-15 10:14:26 +01:00
parent a0693c2fc9
commit 1ae3999576

View File

@ -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"),