From 0f72cfff8d43f51c2b123057b603008431c1ca18 Mon Sep 17 00:00:00 2001 From: lampehe-local Date: Wed, 12 May 2010 16:19:36 +0300 Subject: [PATCH] Removed UI properties from FacebookAuthentication class and moved them to MainWindow Reviewed by: Kaj Wallin --- src/engine/engine.cpp | 1 - src/ui/mainwindow.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/engine/engine.cpp b/src/engine/engine.cpp index 37362eb..15758d8 100644 --- a/src/engine/engine.cpp +++ b/src/engine/engine.cpp @@ -103,7 +103,6 @@ void SituareEngine::loginProcessCancelled() { qDebug() << __PRETTY_FUNCTION__; - m_ui->show(); m_ui->toggleProgressIndicator(false); //ToDo: do something } diff --git a/src/ui/mainwindow.cpp b/src/ui/mainwindow.cpp index 79fd72c..7ec617d 100644 --- a/src/ui/mainwindow.cpp +++ b/src/ui/mainwindow.cpp @@ -46,6 +46,7 @@ MainWindow::MainWindow(QWidget *parent) setCentralWidget(m_mapViewScreen); createMenus(); setWindowTitle(tr("Situare")); + show(); m_locationDialog = new UpdateLocationDialog(this); @@ -197,7 +198,6 @@ void MainWindow::startLoginProcess(const QUrl &url) this, SLOT(loginDialogDone(QString,QString))); m_webView->hide(); - this->show(); if(m_loginDialog->exec() != QDialog::Accepted) { // if login dialog was canceled we need to stop processing webview -- 1.7.9.5