From 4b7eb5451173f14f28234a6ee3f36b1041fc88af Mon Sep 17 00:00:00 2001 From: David Capello Date: Thu, 28 Apr 2016 14:47:53 -0300 Subject: [PATCH] Minor formatting issues inside desktop/ --- desktop/aseprite-thumbnailer | 2 +- desktop/kde/aseprite_thumb_creator.cpp | 3 ++- desktop/kde/aseprite_thumb_creator.h | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/desktop/aseprite-thumbnailer b/desktop/aseprite-thumbnailer index 74277ea08..e68e1e70c 100755 --- a/desktop/aseprite-thumbnailer +++ b/desktop/aseprite-thumbnailer @@ -15,5 +15,5 @@ if [ $# -ge 2 -a $# -lt 4 ]; then fi mkdir -p $(dirname "$2"); mv /tmp/Aseprite/$filename.png $2; else -echo "Parameters for aseprite thumbnailer are: inputfile outputfile [size]" + echo "Parameters for aseprite thumbnailer are: inputfile outputfile [size]" fi diff --git a/desktop/kde/aseprite_thumb_creator.cpp b/desktop/kde/aseprite_thumb_creator.cpp index c5f1a6553..c34c6d822 100644 --- a/desktop/kde/aseprite_thumb_creator.cpp +++ b/desktop/kde/aseprite_thumb_creator.cpp @@ -20,7 +20,8 @@ extern "C" } }; -bool AsepriteThumbCreator::create(const QString& path, int width, int height, QImage& img ) { +bool AsepriteThumbCreator::create(const QString& path, int width, int height, QImage& img) +{ QProcess process; QStringList list; QString tmpFile = QString(QCryptographicHash::hash(path.toLocal8Bit(),QCryptographicHash::Md5).toHex()); diff --git a/desktop/kde/aseprite_thumb_creator.h b/desktop/kde/aseprite_thumb_creator.h index bc1e80089..5ea7aa29f 100644 --- a/desktop/kde/aseprite_thumb_creator.h +++ b/desktop/kde/aseprite_thumb_creator.h @@ -13,9 +13,9 @@ Q_DECLARE_LOGGING_CATEGORY(LOG_ASEPRITE_THUMBCREATOR) #include class AsepriteThumbCreator : public ThumbCreator { - public: - bool create(const QString& path, int width, int height, QImage& img) override; - Flags flags() const override; +public: + bool create(const QString& path, int width, int height, QImage& img) override; + Flags flags() const override; }; #endif