summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-06-22 11:31:10 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-06-22 11:31:10 +0200
commita9b1302f2bf5b590c5352c7c90a9319fac5cc21b (patch)
treeefe9dde907e757847223704eb13d392c434adc7c
parent0.1.6 version with new notifying system (diff)
downloadrekonq-a9b1302f2bf5b590c5352c7c90a9319fac5cc21b.tar.xz
Fixing popup pos && removing unwanted statusBar
-rw-r--r--src/mainwindow.cpp8
-rw-r--r--src/rekonqui.rc2
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 @@
<?xml version="1.0"?>
<!DOCTYPE gui SYSTEM "kpartgui.dtd">
-<gui name="rekonq" version="41">
+<gui name="rekonq" version="42">
<MenuBar>