aboutsummaryrefslogtreecommitdiff
path: root/src/aobutton.cpp
diff options
context:
space:
mode:
authoroldmud0 <oldmud0@users.noreply.github.com>2020-04-17 21:57:16 -0500
committeroldmud0 <oldmud0@users.noreply.github.com>2020-04-17 21:57:16 -0500
commit13942345c6a3e7e1625c6c26cc2f2f368a3bff23 (patch)
tree73ce940217b57fd47afb6a95e828e6309ed5e683 /src/aobutton.cpp
parentfaac191f0b9e99b82614ed3959ec5c67f56a1fc3 (diff)
Run clang-format on entire project
Indentation fixed to 2 spaces per tab. Braces set to Stroustrup style. Lines reflow at 80 characters. One-line method bodies are on the same line as the signature. Space always after `//`. No indentation on preprocessor macros. Includes are sorted lexicographically. If you don't want to see this commit on blames, use the hidden whitespace option on GitHub, or use `-w` in git-blame.
Diffstat (limited to 'src/aobutton.cpp')
-rw-r--r--src/aobutton.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/aobutton.cpp b/src/aobutton.cpp
index 5be2e678..fee946a4 100644
--- a/src/aobutton.cpp
+++ b/src/aobutton.cpp
@@ -3,15 +3,13 @@
#include "debug_functions.h"
#include "file_functions.h"
-AOButton::AOButton(QWidget *parent, AOApplication *p_ao_app) : QPushButton(parent)
+AOButton::AOButton(QWidget *parent, AOApplication *p_ao_app)
+ : QPushButton(parent)
{
ao_app = p_ao_app;
}
-AOButton::~AOButton()
-{
-
-}
+AOButton::~AOButton() {}
void AOButton::set_image(QString p_image)
{
@@ -23,4 +21,3 @@ void AOButton::set_image(QString p_image)
else
this->setStyleSheet("border-image:url(\"" + default_image_path + "\")");
}
-