Skip to content

Commit

Permalink
FreeRDP: add regist meta type
Browse files Browse the repository at this point in the history
  • Loading branch information
KangLin committed Dec 26, 2024
1 parent 6d1f914 commit 78f9763
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

### v0.0.31
- Use [RabbitCommon v2.3.2](https://github.com/KangLin/RabbitCommon/releases/tag/v2.3.2)
- FreeRDP
- Add remote appliation

Check failure on line 6 in ChangeLog.md

View workflow job for this annotation

GitHub Actions / Check for spelling errors

appliation ==> application

### v0.0.30
- Client: fix CFrmParameterClient don't save parameters
Expand Down
2 changes: 2 additions & 0 deletions ChangeLog_zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

### v0.0.31
- 使用 [RabbitCommon v2.3.2](https://github.com/KangLin/RabbitCommon/releases/tag/v2.3.2)
- FreeRDP
- 增加远程应用

### v0.0.30
- 客户端: 修复 CFrmParameterClient 不保存参数错误
Expand Down
3 changes: 3 additions & 0 deletions Plugins/FreeRDP/Client/Rail.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
static Q_LOGGING_CATEGORY(log, "FreeRDP.Rail")
static Q_LOGGING_CATEGORY(logWinInfo, "FreeRDP.Rail.Window.Info")

int g_CRailInfo = qRegisterMetaType<CRailInfo>("CRailInfo");
int g_QSharedPointer_CRailInfo = qRegisterMetaType<QSharedPointer<CRailInfo> >("QSharedPointer<CRailInfo>");

CRail::CRail(CConnectFreeRDP* pConnect, QObject *parent)
: QObject{parent}
, m_pConnect(pConnect)
Expand Down
1 change: 1 addition & 0 deletions Plugins/FreeRDP/Client/Rail.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include <QObject>
#include <QRect>
#include <QVector>
#include <freerdp/client/rail.h>
#include <freerdp/gdi/gdi.h>
#include <freerdp/gdi/dc.h>
Expand Down
1 change: 1 addition & 0 deletions Plugins/FreeRDP/Client/RailManageWindows.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ int CRailManageWindows::UpdateWindow(CRailWindow *pWin, CRailInfo *info)

QRect rImg(rect.left() - rw.left(), rect.top() - rw.top(),
rect.width(), rect.height());
qDebug(log) << "UpdateWindow:" << rImg;
pWin->slotUpdateRect(rImg, img);
}
return 0;
Expand Down

0 comments on commit 78f9763

Please sign in to comment.