From 892d6f3b08c38b4f586b925a114138da41ab7223 Mon Sep 17 00:00:00 2001 From: luisangelsm Date: Thu, 19 Feb 2026 18:41:25 +0100 Subject: [PATCH] Format --- YACReaderLibrary/add_label_dialog.cpp | 16 ++++++++-------- YACReaderLibrary/info_comics_view.cpp | 1 - YACReaderLibrary/server_config_dialog.h | 2 +- shortcuts_management/edit_shortcuts_dialog.h | 6 +++--- 4 files changed, 12 insertions(+), 13 deletions(-) diff --git a/YACReaderLibrary/add_label_dialog.cpp b/YACReaderLibrary/add_label_dialog.cpp index 1e06fa36..c1cc0c79 100644 --- a/YACReaderLibrary/add_label_dialog.cpp +++ b/YACReaderLibrary/add_label_dialog.cpp @@ -2,17 +2,17 @@ namespace { const char *labelColorNames[] = { - QT_TR_NOOP("red"), - QT_TR_NOOP("orange"), + QT_TR_NOOP("red"), + QT_TR_NOOP("orange"), QT_TR_NOOP("yellow"), - QT_TR_NOOP("green"), - QT_TR_NOOP("cyan"), + QT_TR_NOOP("green"), + QT_TR_NOOP("cyan"), QT_TR_NOOP("blue"), - QT_TR_NOOP("violet"), - QT_TR_NOOP("purple"), + QT_TR_NOOP("violet"), + QT_TR_NOOP("purple"), QT_TR_NOOP("pink"), - QT_TR_NOOP("white"), - QT_TR_NOOP("light"), + QT_TR_NOOP("white"), + QT_TR_NOOP("light"), QT_TR_NOOP("dark") }; } diff --git a/YACReaderLibrary/info_comics_view.cpp b/YACReaderLibrary/info_comics_view.cpp index e81ec140..87e35a53 100644 --- a/YACReaderLibrary/info_comics_view.cpp +++ b/YACReaderLibrary/info_comics_view.cpp @@ -244,4 +244,3 @@ void InfoComicsView::applyTheme(const Theme &theme) ctxt->setContextProperty("showDropShadow", QVariant(qv.showDropShadow)); } - diff --git a/YACReaderLibrary/server_config_dialog.h b/YACReaderLibrary/server_config_dialog.h index e882e573..0345d381 100644 --- a/YACReaderLibrary/server_config_dialog.h +++ b/YACReaderLibrary/server_config_dialog.h @@ -29,7 +29,7 @@ private: QPushButton *close; QPushButton *accept; QLabel *qrCode; - + // Labels for themable styling QLabel *titleLabel; QLabel *qrMessageLabel; diff --git a/shortcuts_management/edit_shortcuts_dialog.h b/shortcuts_management/edit_shortcuts_dialog.h index 77a8be2b..08f26ee9 100644 --- a/shortcuts_management/edit_shortcuts_dialog.h +++ b/shortcuts_management/edit_shortcuts_dialog.h @@ -18,7 +18,7 @@ class EditShortcutsDialog : public QDialog, protected Themable public: explicit EditShortcutsDialog(QWidget *parent = 0); void addActionsGroup(const QString &name, const QIcon &ico, QList &group); - void setGroupIconMapping(const QMap> &mapping); + void setGroupIconMapping(const QMap> &mapping); signals: public slots: @@ -33,8 +33,8 @@ protected: QListView *actionsGroupsListView; QTableView *actionsTableView; ActionsGroupsModel *groupsModel; - - QMap> groupIconMapping; + + QMap> groupIconMapping; ActionsShortcutsModel *actionsModel; };