更新代码

This commit is contained in:
feiyangqingyun
2022-11-24 20:15:50 +08:00
parent 2ce7ba59df
commit 65c1c61c40
102 changed files with 376 additions and 81 deletions

View File

@@ -3,6 +3,7 @@
#include "qapplication.h"
#include "qevent.h"
#include "qwidget.h"
#include "qdebug.h"
QScopedPointer<AppInit> AppInit::self;
AppInit *AppInit::Instance()
@@ -23,7 +24,7 @@ AppInit::AppInit(QObject *parent) : QObject(parent)
}
bool AppInit::eventFilter(QObject *watched, QEvent *event)
{
{
QWidget *w = (QWidget *)watched;
if (!w->property("canMove").toBool()) {
return QObject::eventFilter(watched, event);