┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels/panel.cpp
diff options
context:
space:
mode:
authorSerg Podtynnyi <[email protected]>2023-02-04 00:14:53 +0700
committerSerg Podtynnyi <[email protected]>2023-02-05 12:45:38 +0700
commit38c34eeca315c7be58e65d4d3fb72aaf7b866719 (patch)
tree886e53f20c9c43edc3eb7fe04789716a9bc98ebe /src/panels/panel.cpp
parentffff8af851e3a386c44438337779d0ce7ca98a61 (diff)
Add clang-format and format code as in Frameworks
Diffstat (limited to 'src/panels/panel.cpp')
-rw-r--r--src/panels/panel.cpp16
1 files changed, 7 insertions, 9 deletions
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<QAction*>& actions)
+void Panel::setCustomContextMenuActions(const QList<QAction *> &actions)
{
m_customContextMenuActions = actions;
}
-QList<QAction*> Panel::customContextMenuActions() const
+QList<QAction *> 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()
{
-
}
-