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

FTW: don't display "Location not writable" if path is empty

This commit is contained in:
krepa098 2015-02-05 09:59:47 +01:00
parent 5e4e56778b
commit f5cf9677ae

View File

@ -100,6 +100,9 @@ void FileTransferWidget::autoAcceptTransfer(const QString &path)
void FileTransferWidget::acceptTransfer(const QString &filepath)
{
if(filepath.isEmpty())
return;
//test if writable
if(!isFilePathWritable(filepath))
{