changeset 599:f4ffff63f470

Corrected the size of the grabbed image for the animated about dialog on Linux. git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@849 59b1889a-e5ac-428c-b0c7-476e01d41282
author thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
date Mon, 20 Oct 2008 10:20:30 +0000
parents d8e8322638d4
children 1c9f4a2c1c02
files src/AboutDialogGraphicsView.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/AboutDialogGraphicsView.cpp	Sun Oct 19 20:09:25 2008 +0000
+++ b/src/AboutDialogGraphicsView.cpp	Mon Oct 20 10:20:30 2008 +0000
@@ -88,7 +88,7 @@
     // we can detect windowTitleBarWidth here for the first time.
     windowTitleBarWidth = parent->geometry().y() - parent->y();
 #ifdef Q_OS_LINUX
-    QPixmap originalPixmap = QPixmap::grabWindow(QApplication::desktop()->winId(), 0, 0, QApplication::desktop()->availableGeometry().width(), QApplication::desktop()->availableGeometry().height() );
+    QPixmap originalPixmap = QPixmap::grabWindow(QApplication::desktop()->winId(), 0, 0, QApplication::desktop()->availableGeometry().width(), QApplication::desktop()->availableGeometry().height()+windowTitleBarWidth+1 );
 #else
     QPixmap originalPixmap = QPixmap::grabWindow(QApplication::desktop()->winId(), 0, 0, geometry().width(), geometry().height() );
 #endif