Commit 98520e6c authored by Méven Car's avatar Méven Car
Browse files

thumbnail: run clang-format

parent 112b67ae
Pipeline #64298 passed with stage
in 4 minutes and 13 seconds
......@@ -26,10 +26,10 @@
extern "C"
{
Q_DECL_EXPORT ThumbCreator *new_creator()
{
return new TextCreator;
}
Q_DECL_EXPORT ThumbCreator *new_creator()
{
return new TextCreator;
}
}
TextCreator::TextCreator()
......
......@@ -132,7 +132,7 @@ ThumbnailProtocol::ThumbnailProtocol(const QByteArray &pool, const QByteArray &a
ThumbnailProtocol::~ThumbnailProtocol()
{
qDeleteAll( m_creators );
qDeleteAll(m_creators);
m_creators.clear();
}
......@@ -634,8 +634,8 @@ ThumbCreator* ThumbnailProtocol::getThumbCreator(const QString& plugin)
return creator;
}
bool ThumbnailProtocol::createSubThumbnail(QImage& thumbnail, const QString& filePath,
int segmentWidth, int segmentHeight)
bool ThumbnailProtocol::createSubThumbnail(QImage &thumbnail, const QString &filePath,
int segmentWidth, int segmentHeight)
{
auto getSubCreator = [&filePath, this]() -> ThumbCreator* {
const QMimeDatabase db;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment