core!: fix typo in ShellScreen.primaryOrientation

This commit is contained in:
outfoxxed 2025-01-19 01:00:03 -08:00
parent d195ca7680
commit d6b58521e9
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
2 changed files with 5 additions and 7 deletions

View file

@ -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:

View file

@ -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();