2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Fix invisible passcode field.

Regression was introduced in fd8ae60dc.
This commit is contained in:
John Preston
2020-02-11 13:01:08 +04:00
parent 5171c0bd77
commit bcd0fe38f0
6 changed files with 12 additions and 23 deletions

View File

@@ -207,10 +207,6 @@ void Application::run() {
_window = std::make_unique<Window::Controller>(&activeAccount());
const auto currentGeometry = _window->widget()->geometry();
_mediaView = std::make_unique<Media::View::OverlayWidget>();
_window->widget()->setGeometry(currentGeometry);
QCoreApplication::instance()->installEventFilter(this);
connect(
static_cast<QGuiApplication*>(QCoreApplication::instance()),
@@ -242,6 +238,8 @@ void Application::run() {
DEBUG_LOG(("Application Info: showing."));
_window->firstShow();
_mediaView = std::make_unique<Media::View::OverlayWidget>();
if (!locked() && cStartToSettings()) {
_window->showSettings();
}