fix: fix build

This commit is contained in:
Qv2ray-dev 2020-06-22 22:02:14 +08:00
parent 866a114c3d
commit d1bf6e48af
No known key found for this signature in database
GPG Key ID: E7FAEFAFCD031D4B
3 changed files with 3 additions and 4 deletions

View File

@ -1 +1 @@
5640
5641

View File

@ -3,8 +3,6 @@
#include "base/Qv2rayBase.hpp"
#include "libs/puresource/src/PureJson.hpp"
#include <QMessageBox>
namespace Qv2ray::common
{
const QString GenerateRandomString(int len)
@ -236,7 +234,7 @@ namespace Qv2ray::common
QMessageBox::information(parent, title, text, QMessageBox::Ok | QMessageBox::Default, 0);
}
QMessageBox::StandardButton QvMessageBoxAsk(QWidget *parent, const QString &title, const QString &text,
QMessageBox::StandardButton extraButtons = QMessageBox::StandardButton::NoButton)
QMessageBox::StandardButton extraButtons)
{
return QMessageBox::question(parent, title, text, QMessageBox::Yes | QMessageBox::No | extraButtons);
}

View File

@ -5,6 +5,7 @@
#include <QFile>
#include <QHostAddress>
#include <QJsonDocument>
#include <QMessageBox>
#include <QRegularExpression>
#define REGEX_IPV6_ADDR \