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

fix(chattextedit.cpp): fix drag-and-drop to be consistent across systems

Add explicit setAcceptDrops(false) to allow parent widget to handle
drag-and-drops consistently across various desktop environments.

Closes: #2847
This commit is contained in:
Vincas Dargis 2016-06-24 19:53:59 +03:00
parent 684835de1b
commit 70fc247b70

View File

@ -26,6 +26,7 @@ ChatTextEdit::ChatTextEdit(QWidget *parent) :
{
retranslateUi();
setAcceptRichText(false);
setAcceptDrops(false);
Translator::registerHandler(std::bind(&ChatTextEdit::retranslateUi, this), this);
}