diff options
author | lbartoletti <l.bartoletti@free.fr> | 2019-10-22 20:46:40 +0200 |
---|---|---|
committer | lbartoletti <l.bartoletti@free.fr> | 2019-10-22 20:46:40 +0200 |
commit | 59e6b9b87d67adf79293d368dfaaa5097e2dceff (patch) | |
tree | 3fcec1167a5dd2abbcb07e342dcab083f810e960 /src-qt5/core/lumina-desktop/BootSplash.cpp | |
parent | screenGeometry/screenCount -> QGuiApplication::screens(). LSession.cpp (diff) | |
download | lumina-59e6b9b87d67adf79293d368dfaaa5097e2dceff.tar.gz lumina-59e6b9b87d67adf79293d368dfaaa5097e2dceff.tar.bz2 lumina-59e6b9b87d67adf79293d368dfaaa5097e2dceff.zip |
screenGeometry/screenCount -> QGuiApplication::screens(). another round
Diffstat (limited to 'src-qt5/core/lumina-desktop/BootSplash.cpp')
-rw-r--r-- | src-qt5/core/lumina-desktop/BootSplash.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/core/lumina-desktop/BootSplash.cpp b/src-qt5/core/lumina-desktop/BootSplash.cpp index cdf1a3c2..f3befeaf 100644 --- a/src-qt5/core/lumina-desktop/BootSplash.cpp +++ b/src-qt5/core/lumina-desktop/BootSplash.cpp @@ -11,7 +11,7 @@ BootSplash::BootSplash() : QWidget(0, Qt::SplashScreen | Qt::X11BypassWindowMana this->setMinimumWidth( this->minimumHeight() * 1.5); this->setObjectName("LuminaBootSplash"); //for theme styling //Center the window on the primary screen - QPoint ctr = QApplication::desktop()->screenGeometry().center(); + QPoint ctr = QGuiApplication::primaryScreen()->geometry().center(); this->move( ctr.x()-(this->width()/2), ctr.y()-(this->height()/2) ); generateTipOfTheDay(); ui->label_version->setText( QString(tr("Version %1")).arg(LDesktopUtils::LuminaDesktopVersion()) ); |