chatgui: localize file drop hints and attachment rejection messages
This commit is contained in:
1 parent
0279ed84a9
commit
cc8e47cfc8
3 files changed
+15
-1
No files matched your search
@@ -220,7 +220,7 @@ void InputBar::installFileDropTarget(QWidget* target) {
|
||||
target->setAcceptDrops(true);
|
||||
target->installEventFilter(this);
|
||||
m_dropTargets.insert(target);
|
||||
connect(target, &QObject::destroyed, this, [this, target] { m_dropTargets.remove(target); });
|
||||
if (target != this) connect(target, &QObject::destroyed, this, [this, target] { m_dropTargets.remove(target); });
|
||||
GUI_DEBUG("InputBar: file drop target installed class=%s", target->metaObject()->className());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user