[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdeedu
From: George Staikos <staikos () kde ! org>
Date: 2003-02-23 1:45:16
[Download RAW message or body]
CVS commit by staikos:
I actually loathe this
M +1 -1 khangman/khangman/khsplash.cpp 1.16
M +1 -1 klettres/klettres/khsplash.cpp 1.12
M +1 -1 kmessedwords/kmessedwords/splashscreen.cpp 1.8
M +1 -1 kverbos/kverbos/kstartuplogo.cpp 1.11
--- kdeedu/khangman/khangman/khsplash.cpp #1.15:1.16
@@ -35,5 +35,5 @@ KhSplash::KhSplash(QWidget *parent, cons
setBackgroundPixmap( QPixmap( locate("data","khangman/pics/khm_splash.png") \
) ); //preload is senseless here... QRect desk = \
KGlobalSettings::splashScreenDesktopGeometry();
- setGeometry ( desk.width()/2-160, desk.height()/2-120, 349, 173 );
+ setGeometry ( desk.center().x()-160, desk.center().y()-120, 349, 173 );
setFrameStyle( QFrame::Box | QFrame::Raised );
setLineWidth(1);
--- kdeedu/klettres/klettres/khsplash.cpp #1.11:1.12
@@ -32,5 +32,5 @@ KhSplash::KhSplash(QWidget *parent, cons
setBackgroundPixmap(*pm);
QRect desk = KGlobalSettings::splashScreenDesktopGeometry();
- setGeometry(desk.width()/2-200, desk.height()/2-124, 400, 248);
+ setGeometry(desk.center().x()-200, desk.center().y()-124, 400, 248);
setFrameStyle( QFrame::Box | QFrame::Raised );
setLineWidth(1);
--- kdeedu/kmessedwords/kmessedwords/splashscreen.cpp #1.7:1.8
@@ -24,5 +24,5 @@ SplashScreen::SplashScreen(QWidget *pare
{
QRect desk = KGlobalSettings::splashScreenDesktopGeometry();
- setGeometry ( desk.width()/2-160, desk.height()/2-120, 302,302 );
+ setGeometry ( desk.center().x()-160, desk.center().y()-120, 302,302 );
setFrameStyle( QFrame::Box | QFrame::Raised );
setLineWidth( 1 );
--- kdeedu/kverbos/kverbos/kstartuplogo.cpp #1.10:1.11
@@ -28,5 +28,5 @@ KStartupLogo::KStartupLogo(QWidget * par
setBackgroundPixmap(pm);
QRect desk = KGlobalSettings::splashScreenDesktopGeometry();
- setGeometry(desk.width()/2-pm.width()/2, desk.height()/2-pm.height()/2,
+ setGeometry(desk.center().x()-pm.width()/2, desk.center().y()-pm.height()/2,
pm.width(),pm.height());
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic