From a9b1302f2bf5b590c5352c7c90a9319fac5cc21b Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Mon, 22 Jun 2009 11:31:10 +0200 Subject: Fixing popup pos && removing unwanted statusBar --- src/mainwindow.cpp | 8 +++++++- src/rekonqui.rc | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index c7e3c945..519081d6 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -136,6 +136,9 @@ MainWindow::MainWindow() // toolbar position, icon size, etc. setupGUI(); + // no more status bar.. + setStatusBar(0); + QTimer::singleShot(0, this, SLOT(postLaunch())); } @@ -887,9 +890,12 @@ void MainWindow::notifyMessage(const QString &msg, Rekonq::Notify status) m_popup->setView(msg); + int h = KGlobalSettings::generalFont().pointSize(); + kWarning() << "h: " << h; + // setting popus in bottom-left position int x = geometry().x(); - int y = geometry().y() + height() - 45; + int y = geometry().y() + height() - h*4; QPoint p(x,y); m_popup->show(p); diff --git a/src/rekonqui.rc b/src/rekonqui.rc index 67b07c1c..dfc8bd2b 100644 --- a/src/rekonqui.rc +++ b/src/rekonqui.rc @@ -1,6 +1,6 @@ - + -- cgit v1.2.1