[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdegraphics/gwenview
From: Aurélien Gâteau <aurelien.gateau () free ! fr>
Date: 2007-06-26 12:40:37
Message-ID: 1182861637.379823.5214.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 680514 by gateau:
Fix fullscreen bar staying invisible in some cases.
M +0 -1 app/mainwindow.cpp
M +3 -4 lib/fullscreenbar.cpp
--- trunk/KDE/kdegraphics/gwenview/app/mainwindow.cpp #680513:680514
@@ -693,7 +693,6 @@
showNormal();
menuBar()->show();
toolBar()->show();
- d->mFullScreenBar->hide();
}
}
--- trunk/KDE/kdegraphics/gwenview/lib/fullscreenbar.cpp #680513:680514
@@ -89,6 +89,9 @@
void FullScreenBar::setActivated(bool activated) {
if (activated) {
qApp->installEventFilter(this);
+ // Make sure the widget is not partially visible on start
+ move(0, -150);
+ show();
d->hideCursor();
} else {
qApp->removeEventFilter(this);
@@ -117,10 +120,6 @@
void FullScreenBar::slideIn() {
- if (!isVisible()) {
- move(0, -150);
- show();
- }
// Make sure auto hide timer does not kick in while we are sliding in
d->mAutoHideTimer->stop();
d->mTimeLine->setDirection(QTimeLine::Forward);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic