From 1f4460cb1f0f3c40eb7f82c1222a3eb57bcdbc6b Mon Sep 17 00:00:00 2001 From: Rym Bouabid Date: Mon, 11 Sep 2023 17:47:20 +0200 Subject: [PATCH] Revamp Shared Memory Example: Fix formatting of the dialog.h header "dialog.h" has inconsitent indentation. Task-number: QTBUG-108858 Pick-to: 6.5 Change-Id: Id029d5ec63f3831e5ffcfe2b61d7e86896d4afb5 Reviewed-by: Ivan Solovev (cherry picked from commit 0a62d4e4c07ddcc650c67faf977663f7fb8aef62) Reviewed-by: Qt Cherry-pick Bot --- examples/corelib/ipc/sharedmemory/dialog.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/corelib/ipc/sharedmemory/dialog.h b/examples/corelib/ipc/sharedmemory/dialog.h index 3bdc9fc0707..679af423ffc 100644 --- a/examples/corelib/ipc/sharedmemory/dialog.h +++ b/examples/corelib/ipc/sharedmemory/dialog.h @@ -14,21 +14,21 @@ class Dialog : public QDialog { Q_OBJECT - public: +public: Dialog(QWidget *parent = nullptr); - public slots: +public slots: void loadFromFile(); void loadFromMemory(); - private: +private: void detach(); - private: +private: Ui::Dialog ui; QSharedMemory sharedMemory; }; //! [0] -#endif +#endif // DIALOG_H