rename desk to desktop, remove virtual and add override

This commit is contained in:
Gabriel Rauter 2016-04-05 00:40:01 +02:00
parent 75445d0b67
commit b3b96a73a9
9 changed files with 4 additions and 4 deletions

View File

@ -400,7 +400,7 @@ if(APPLE)
endif(APPLE)
if(WITH_DESKTOP_INTEGRATION)
add_subdirectory(desk)
add_subdirectory(desktop)
endif()
######################################################################

View File

@ -7,7 +7,7 @@ if [ $# -ge 2 -a $# -lt 4 ]; then
elif [ $# -eq 3 ]; then
aseprite -b --frame-range "0,0" $1 --shrink-to "$3,$3" --sheet /tmp/Aseprite/$filename.png
fi
mkdir -p $(dirname "$2"); mv /tmp/Aseprite/$filename.png $2;
mkdir -p $(dirname "$2"); mv /tmp/Aseprite/$filename.png $2;
else
echo "Parameters for aseprite thumbnailer are: inputfile outputfile [size]"
fi

View File

@ -9,8 +9,8 @@ Q_DECLARE_LOGGING_CATEGORY(LOG_ASEPRITE_THUMBCREATOR)
class AsepriteThumbCreator : public ThumbCreator {
public:
virtual bool create(const QString& path, int width, int height, QImage& img);
virtual Flags flags() const;
bool create(const QString& path, int width, int height, QImage& img) override;
Flags flags() const override;
};
#endif