diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-06-22 11:31:10 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-06-22 11:31:10 +0200 |
commit | a9b1302f2bf5b590c5352c7c90a9319fac5cc21b (patch) | |
tree | efe9dde907e757847223704eb13d392c434adc7c /src/mainwindow.cpp | |
parent | 0.1.6 version with new notifying system (diff) | |
download | rekonq-a9b1302f2bf5b590c5352c7c90a9319fac5cc21b.tar.xz |
Fixing popup pos && removing unwanted statusBar
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r-- | src/mainwindow.cpp | 8 |
1 files changed, 7 insertions, 1 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); |