From 38c34eeca315c7be58e65d4d3fb72aaf7b866719 Mon Sep 17 00:00:00 2001 From: Serg Podtynnyi Date: Sat, 4 Feb 2023 00:14:53 +0700 Subject: Add clang-format and format code as in Frameworks --- src/panels/panel.cpp | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'src/panels/panel.cpp') diff --git a/src/panels/panel.cpp b/src/panels/panel.cpp index 9e62cc8e3..32f293c4c 100644 --- a/src/panels/panel.cpp +++ b/src/panels/panel.cpp @@ -7,10 +7,10 @@ #include "panel.h" -Panel::Panel(QWidget* parent) : - QWidget(parent), - m_url(), - m_customContextMenuActions() +Panel::Panel(QWidget *parent) + : QWidget(parent) + , m_url() + , m_customContextMenuActions() { } @@ -23,12 +23,12 @@ QUrl Panel::url() const return m_url; } -void Panel::setCustomContextMenuActions(const QList& actions) +void Panel::setCustomContextMenuActions(const QList &actions) { m_customContextMenuActions = actions; } -QList Panel::customContextMenuActions() const +QList Panel::customContextMenuActions() const { return m_customContextMenuActions; } @@ -43,7 +43,7 @@ QSize Panel::sizeHint() const return QSize(180, 180); } -void Panel::setUrl(const QUrl& url) +void Panel::setUrl(const QUrl &url) { if (url.matches(m_url, QUrl::StripTrailingSlash)) { return; @@ -58,6 +58,4 @@ void Panel::setUrl(const QUrl& url) void Panel::readSettings() { - } - -- cgit v1.3