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 @@ ...@@ -26,10 +26,10 @@
extern "C" extern "C"
{ {
Q_DECL_EXPORT ThumbCreator *new_creator() Q_DECL_EXPORT ThumbCreator *new_creator()
{ {
return new TextCreator; return new TextCreator;
} }
} }
TextCreator::TextCreator() TextCreator::TextCreator()
......
...@@ -132,7 +132,7 @@ ThumbnailProtocol::ThumbnailProtocol(const QByteArray &pool, const QByteArray &a ...@@ -132,7 +132,7 @@ ThumbnailProtocol::ThumbnailProtocol(const QByteArray &pool, const QByteArray &a
ThumbnailProtocol::~ThumbnailProtocol() ThumbnailProtocol::~ThumbnailProtocol()
{ {
qDeleteAll( m_creators ); qDeleteAll(m_creators);
m_creators.clear(); m_creators.clear();
} }
...@@ -634,8 +634,8 @@ ThumbCreator* ThumbnailProtocol::getThumbCreator(const QString& plugin) ...@@ -634,8 +634,8 @@ ThumbCreator* ThumbnailProtocol::getThumbCreator(const QString& plugin)
return creator; return creator;
} }
bool ThumbnailProtocol::createSubThumbnail(QImage& thumbnail, const QString& filePath, bool ThumbnailProtocol::createSubThumbnail(QImage &thumbnail, const QString &filePath,
int segmentWidth, int segmentHeight) int segmentWidth, int segmentHeight)
{ {
auto getSubCreator = [&filePath, this]() -> ThumbCreator* { auto getSubCreator = [&filePath, this]() -> ThumbCreator* {
const QMimeDatabase db; 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