Commit 370cd389 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix clazy warning

parent 249feddb
Pipeline #29652 passed with stage
in 25 minutes and 9 seconds
......@@ -50,7 +50,7 @@ struct ImageWithName {
};
typedef QSharedPointer<ImageWithName> ImageWithNamePtr;
typedef QList< ImageWithNamePtr > ImageWithNameList;
typedef QVector< ImageWithNamePtr > ImageWithNameList;
typedef QVector< QSharedPointer<EmbeddedImage> > ImageList;
class KPIMTEXTEDIT_EXPORT RichTextComposerImages : public QObject
......
......@@ -908,7 +908,7 @@ QList<int> MarkupDirector::sortOpeningOrder(QSet<int> openingOrder,
// be out of order.
// The rest of the block is traversed until there are no more elements to
// sort, or the end is reached.
while (openingOrder.count()) {
while (!openingOrder.isEmpty()) {
if (!it.atEnd()) {
it++;
......
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