mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-25 15:18:23 +00:00
Minor formatting issues inside desktop/
This commit is contained in:
parent
5a278780a0
commit
4b7eb54511
@ -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
|
||||
|
@ -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());
|
||||
|
@ -13,7 +13,7 @@ Q_DECLARE_LOGGING_CATEGORY(LOG_ASEPRITE_THUMBCREATOR)
|
||||
#include <kio/thumbcreator.h>
|
||||
|
||||
class AsepriteThumbCreator : public ThumbCreator {
|
||||
public:
|
||||
public:
|
||||
bool create(const QString& path, int width, int height, QImage& img) override;
|
||||
Flags flags() const override;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user