mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-28 18:56:32 +02:00
Merge pull request #3915
7b729fc
qt: replace QRegExp with QRegularExpression (selsta)
This commit is contained in:
commit
35d1546110
@ -36,7 +36,6 @@
|
||||
#include <QObject>
|
||||
#include <QDesktopWidget>
|
||||
#include <QScreen>
|
||||
#include <QRegExp>
|
||||
#include <QThread>
|
||||
|
||||
#include <version.h>
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include <QRegExp>
|
||||
#include <QMessageBox>
|
||||
#include <QPixmap>
|
||||
#include <QTranslator>
|
||||
|
@ -30,7 +30,7 @@
|
||||
#define UTILS_H
|
||||
|
||||
#include <QtCore>
|
||||
#include <QRegExp>
|
||||
#include <QRegularExpression>
|
||||
#include <QApplication>
|
||||
|
||||
bool fileExists(QString path);
|
||||
@ -42,7 +42,7 @@ QString getAccountName();
|
||||
QString xdgMime();
|
||||
void registerXdgMime();
|
||||
#endif
|
||||
const static QRegExp reURI = QRegExp("^\\w+:\\/\\/([\\w+\\-?\\-_\\-=\\-&]+)");
|
||||
const static QRegularExpression reURI = QRegularExpression("^\\w+:\\/\\/([\\w+\\-?\\-_\\-=\\-&]+)");
|
||||
QString randomUserAgent();
|
||||
|
||||
#endif // UTILS_H
|
||||
|
Loading…
Reference in New Issue
Block a user