From d6b58521e992ff9f751af6c991890e17d9a96df4 Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Sun, 19 Jan 2025 01:00:03 -0800 Subject: [PATCH] core!: fix typo in ShellScreen.primaryOrientation --- src/core/qmlscreen.hpp | 2 +- .../image_copy_capture/image_copy_capture_p.hpp | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/core/qmlscreen.hpp b/src/core/qmlscreen.hpp index 69c0762d..c74d3b2c 100644 --- a/src/core/qmlscreen.hpp +++ b/src/core/qmlscreen.hpp @@ -40,7 +40,7 @@ class QuickshellScreenInfo: public QObject { /// The ratio between physical pixels and device-independent (scaled) pixels. Q_PROPERTY(qreal devicePixelRatio READ devicePixelRatio NOTIFY physicalPixelDensityChanged); Q_PROPERTY(Qt::ScreenOrientation orientation READ orientation NOTIFY orientationChanged); - Q_PROPERTY(Qt::ScreenOrientation primatyOrientation READ primaryOrientation NOTIFY primaryOrientationChanged); + Q_PROPERTY(Qt::ScreenOrientation primaryOrientation READ primaryOrientation NOTIFY primaryOrientationChanged); // clang-format on public: diff --git a/src/wayland/screencopy/image_copy_capture/image_copy_capture_p.hpp b/src/wayland/screencopy/image_copy_capture/image_copy_capture_p.hpp index 14f20675..e89af4a5 100644 --- a/src/wayland/screencopy/image_copy_capture/image_copy_capture_p.hpp +++ b/src/wayland/screencopy/image_copy_capture/image_copy_capture_p.hpp @@ -23,21 +23,19 @@ public: void captureFrame() override; protected: - // clang-formt off + // clang-format off void ext_image_copy_capture_session_v1_buffer_size(uint32_t width, uint32_t height) override; void ext_image_copy_capture_session_v1_shm_format(uint32_t format) override; void ext_image_copy_capture_session_v1_dmabuf_device(wl_array* device) override; - void - ext_image_copy_capture_session_v1_dmabuf_format(uint32_t format, wl_array* modifiers) override; + void ext_image_copy_capture_session_v1_dmabuf_format(uint32_t format, wl_array* modifiers) override; void ext_image_copy_capture_session_v1_done() override; void ext_image_copy_capture_session_v1_stopped() override; void ext_image_copy_capture_frame_v1_transform(uint32_t transform) override; - void ext_image_copy_capture_frame_v1_damage(int32_t x, int32_t y, int32_t width, int32_t height) - override; + void ext_image_copy_capture_frame_v1_damage(int32_t x, int32_t y, int32_t width, int32_t height) override; void ext_image_copy_capture_frame_v1_ready() override; void ext_image_copy_capture_frame_v1_failed(uint32_t reason) override; - // clang-formt on + // clang-format on private: void clearOldState();