Commit b6d1ebbe authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Convert to QVector

parent 9bc0f64a
......@@ -35,6 +35,7 @@
#include <QMouseEvent>
#include <QHeaderView>
#include <QRegularExpression>
#include <QVector>
#include "storagemodel.h"
#include "core/widgets/quicksearchline.h"
......@@ -697,7 +698,7 @@ void Pane::Private::onTabContextMenuRequest(const QPoint &pos)
QAction *action = menu.exec(q->mapToGlobal(pos));
if (action == allOther) { // Close all other tabs
QList<Widget *> widgets;
QVector<Widget *> widgets;
const int index = q->indexOf(w);
for (int i = 0; i < q->count(); ++i) {
......
......@@ -26,6 +26,7 @@
#include <QIcon>
#include <KLocalizedString>
#include <QMenu>
#include <QVector>
using namespace TemplateParser;
class TemplateParser::CustomTemplatesMenuPrivate
......@@ -45,7 +46,7 @@ public:
KActionCollection *mOwnerActionCollection = nullptr;
QStringList mCustomTemplates;
QList<QAction *> mCustomTemplateActions;
QVector<QAction *> mCustomTemplateActions;
// Custom template actions menu
KActionMenu *mCustomReplyActionMenu = nullptr;
......
......@@ -66,7 +66,7 @@ public:
void makeAccessKeyLabel(QChar accessKey, const WebEngineViewer::WebEngineAccessKeyAnchor &element);
bool checkForAccessKey(QKeyEvent *event);
QList<QLabel *> mAccessKeyLabels;
QVector<QLabel *> mAccessKeyLabels;
QMultiHash<QChar, WebEngineViewer::WebEngineAccessKeyAnchor> mAccessKeyNodes;
QHash<QString, QChar> mDuplicateLinkElements;
QWebEngineView *mWebEngine = nullptr;
......
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