22 lines
727 B
Plaintext
22 lines
727 B
Plaintext
From 4de5ad0d0389b2df09469c1cdbd91f17d2e10948 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Zolt=C3=A1n=20Mizsei?= <zmizsei@extrowerk.com>
|
|
Date: Sun, 1 Jul 2018 14:02:25 +0200
|
|
Subject: Build fix
|
|
|
|
|
|
diff --git a/src/application/splashdialog.cpp b/src/application/splashdialog.cpp
|
|
index d3f6317..06b4b48 100644
|
|
--- a/src/application/splashdialog.cpp
|
|
+++ b/src/application/splashdialog.cpp
|
|
@@ -37,5 +37,7 @@ SplashDialog::SplashDialog()
|
|
|
|
// Remove the frame and center the window
|
|
setWindowFlags(Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint);
|
|
+ #ifndef __HAIKU__
|
|
setGeometry(QStyle::alignedRect(Qt::LeftToRight, Qt::AlignCenter, size(), QApplication::desktop()->availableGeometry()));
|
|
+ #endif
|
|
}
|
|
--
|
|
2.16.4
|
|
|