mirror of
https://gitee.com/spark-store-project/spark-store
synced 2026-06-22 22:23:49 +08:00
修复非DDE下移动窗口时鼠标不会在放开时还原的问题
This commit is contained in:
@@ -68,7 +68,6 @@ bool SpkWindow::event(QEvent *evt)
|
|||||||
if(!QMainWindow::event(evt) || 1)
|
if(!QMainWindow::event(evt) || 1)
|
||||||
{
|
{
|
||||||
mMoveOffset = e->globalPos() - pos();
|
mMoveOffset = e->globalPos() - pos();
|
||||||
setCursor(Qt::SizeAllCursor);
|
|
||||||
mMoving = true;
|
mMoving = true;
|
||||||
mResizing = false;
|
mResizing = false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user