mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 18:21:16 +02:00
Update chat window to not allow movement while docked
This commit is contained in:
parent
f698f3375a
commit
4ae148ff19
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ ChatWindow::~ChatWindow() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void ChatWindow::mousePressEvent(QMouseEvent *e) {
|
void ChatWindow::mousePressEvent(QMouseEvent *e) {
|
||||||
if (e->button() == Qt::LeftButton) {
|
if (e->button() == Qt::LeftButton && isFloating()) {
|
||||||
_mousePressed = true;
|
_mousePressed = true;
|
||||||
_mouseStartPosition = e->pos();
|
_mouseStartPosition = e->pos();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue