Skip to content

Add missing pragma once and move func to cpp#383

Merged
zccrs merged 1 commit intovioken:masterfrom
wineee:on
Jun 19, 2024
Merged

Add missing pragma once and move func to cpp#383
zccrs merged 1 commit intovioken:masterfrom
wineee:on

Conversation

@wineee
Copy link
Copy Markdown
Member

@wineee wineee commented Jun 19, 2024

No description provided.

@wineee wineee marked this pull request as ready for review June 19, 2024 02:21
explicit WXdgSurfaceItem(QQuickItem *parent = nullptr);
~WXdgSurfaceItem();

inline WXdgSurface* xdgSurface() const { return qobject_cast<WXdgSurface*>(shellSurface()); }
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

qobject_cast need #include "wxdgsurface.h"

@wineee wineee requested a review from zccrs June 19, 2024 02:35
@zccrs zccrs merged commit 06aaad1 into vioken:master Jun 19, 2024
@wineee wineee deleted the on branch June 19, 2024 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants