Minor formatting issues inside desktop/

This commit is contained in:
David Capello 2016-04-28 14:47:53 -03:00
parent 5a278780a0
commit 4b7eb54511
3 changed files with 6 additions and 5 deletions

View File

@ -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

View File

@ -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());

View File

@ -13,9 +13,9 @@ Q_DECLARE_LOGGING_CATEGORY(LOG_ASEPRITE_THUMBCREATOR)
#include <kio/thumbcreator.h>
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