Make lowest line of Splash image frames transparent to work around scaling issues
The Splash image is scaled. Sometimes, the lowest line is repeated on the top, which caused some weird lines to appear above big splashes (e.g. piano).
This has been done fully automated with a script. Only the alpha channel was changed. The color information is preserved.
#ifndef PREVIEW_ACCEPTOR_H
#define PREVIEW_ACCEPTOR_H
#include <QObject>
class QQmlEngine;
class PreviewImageProvider;
class PreviewAcceptor : public QObject {
Q_OBJECT
public:
explicit PreviewAcceptor(QQmlEngine *engine, QObject *parent = nullptr);
public slots:
void setImage(const QImage &preview);
private:
PreviewImageProvider *m_previewProvider;
};
#endif // PREVIEW_ACCEPTOR_H