mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Moved ConfirmBox to Ui namespace.
This commit is contained in:
@@ -345,7 +345,7 @@ void Application::showOpenGLCrashNotification() {
|
||||
Core::App().settings().setDisableOpenGL(true);
|
||||
Local::writeSettings();
|
||||
};
|
||||
_window->show(Box<ConfirmBox>(
|
||||
_window->show(Box<Ui::ConfirmBox>(
|
||||
"There may be a problem with your graphics drivers and OpenGL. "
|
||||
"Try updating your drivers.\n\n"
|
||||
"OpenGL has been disabled. You can try to enable it again "
|
||||
@@ -537,7 +537,7 @@ void Application::badMtprotoConfigurationError() {
|
||||
_settings.proxy().selected(),
|
||||
MTP::ProxyData::Settings::System);
|
||||
};
|
||||
_badProxyDisableBox = Ui::show(Box<InformBox>(
|
||||
_badProxyDisableBox = Ui::show(Box<Ui::InformBox>(
|
||||
Lang::Hard::ProxyConfigError(),
|
||||
disableCallback));
|
||||
}
|
||||
@@ -636,7 +636,7 @@ void Application::logout(Main::Account *account) {
|
||||
void Application::forceLogOut(
|
||||
not_null<Main::Account*> account,
|
||||
const TextWithEntities &explanation) {
|
||||
const auto box = Ui::show(Box<InformBox>(
|
||||
const auto box = Ui::show(Box<Ui::InformBox>(
|
||||
explanation,
|
||||
tr::lng_passcode_logout(tr::now)));
|
||||
box->setCloseByEscape(false);
|
||||
|
Reference in New Issue
Block a user