Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support register shortcut #54

Merged
merged 3 commits into from
Dec 27, 2023

Conversation

justforlxz
Copy link
Member

No description provided.

@justforlxz justforlxz force-pushed the impl/shortcut branch 2 times, most recently from 4782b6c to 9102a31 Compare December 20, 2023 06:04
@justforlxz justforlxz force-pushed the impl/shortcut branch 3 times, most recently from 405b431 to 5b1dd58 Compare December 26, 2023 02:13
justforlxz and others added 2 commits December 26, 2023 16:29
set shortcut config dirs and format

Log:
CMakeLists.txt Outdated
@@ -180,6 +180,7 @@ endif()


# Set constants
set(TREELAND_DATA_DIR "${CMAKE_INSTALL_PREFIX}/share/treeland/" CACHE PATH "treeland data install directory")
Copy link
Member

Choose a reason for hiding this comment

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

考虑用 CMAKE_INSTALL_DATADIR

destroy();
}

inline void destroy() {
Copy link
Member

Choose a reason for hiding this comment

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

{ 换行

sc.connect(&handle->events.destroy, this, &QTreeLandShortcutManagerV1Private::on_destroy);
sc.connect(&handle->events.new_context, this, &QTreeLandShortcutManagerV1Private::on_new_context);
}
~QTreeLandShortcutManagerV1Private() {
Copy link
Member

Choose a reason for hiding this comment

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

{ 换行

check current user

Log: 修复快捷键发送给多个用户
@deepin-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: BLumia, justforlxz

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@justforlxz justforlxz merged commit 48647dd into linuxdeepin:master Dec 27, 2023
8 of 13 checks passed
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.

3 participants