mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-11-01 21:50:04 +00:00
get rid of old high_privilege_dialog build
This commit is contained in:
parent
87e43a528e
commit
eb3b76dcf4
6 changed files with 4 additions and 195 deletions
|
|
@ -58,7 +58,7 @@ static const QString message = QObject::tr(
|
|||
static const QString message = QObject::tr("");
|
||||
#endif
|
||||
|
||||
static const QString title = QObject::tr("Supercell Wx");
|
||||
static const QString title = QObject::tr("Supercell Wx");
|
||||
static const QString checkBoxText =
|
||||
QObject::tr("Do not show this warning again.");
|
||||
|
||||
|
|
@ -88,7 +88,8 @@ public:
|
|||
QCheckBox* checkBox_;
|
||||
};
|
||||
|
||||
PrivilegeChecker::PrivilegeChecker() : p(std::make_unique<PrivilegeChecker::Impl>())
|
||||
PrivilegeChecker::PrivilegeChecker() :
|
||||
p(std::make_unique<PrivilegeChecker::Impl>())
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -101,7 +102,7 @@ bool PrivilegeChecker::pre_settings_check()
|
|||
return false;
|
||||
}
|
||||
|
||||
int result = p->dialog_.exec();
|
||||
int result = p->dialog_.exec();
|
||||
p->firstCheckCheckBoxState_ = p->checkBox_->isChecked();
|
||||
|
||||
return result != QMessageBox::Yes;
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@
|
|||
#include <scwx/qt/manager/thread_manager.hpp>
|
||||
#include <scwx/qt/settings/general_settings.hpp>
|
||||
#include <scwx/qt/types/qt_types.hpp>
|
||||
#include <scwx/qt/ui/high_privilege_dialog.hpp>
|
||||
#include <scwx/qt/ui/setup/setup_wizard.hpp>
|
||||
#include <scwx/qt/main/check_privilege.hpp>
|
||||
#include <scwx/network/cpr.hpp>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue