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

Merge pull request #2770 from a68366:issue2484

Fixes #2484 - Error message inside the chat
Remove extra spaces
This commit is contained in:
Zetok Zalbavar 2016-01-04 12:23:25 +00:00
commit b25faf0426
No known key found for this signature in database
GPG Key ID: C953D3880212068A

View File

@ -22,6 +22,7 @@
#include "src/nexus.h" #include "src/nexus.h"
#include "src/core/core.h" #include "src/core/core.h"
#include "src/widget/gui.h"
#include "src/widget/style.h" #include "src/widget/style.h"
#include "src/widget/widget.h" #include "src/widget/widget.h"
#include "src/persistence/settings.h" #include "src/persistence/settings.h"
@ -138,8 +139,7 @@ void FileTransferWidget::acceptTransfer(const QString &filepath)
//test if writable //test if writable
if (!Nexus::tryRemoveFile(filepath)) if (!Nexus::tryRemoveFile(filepath))
{ {
QMessageBox::warning(this, GUI::showWarning(tr("Location not writable", "Title of permissions popup"),
tr("Location not writable", "Title of permissions popup"),
tr("You do not have permission to write that location. Choose another, or cancel the save dialog.", "text of permissions popup")); tr("You do not have permission to write that location. Choose another, or cancel the save dialog.", "text of permissions popup"));
return; return;
} }