mirror of
https://github.com/MelanieT/OpenSimConsoleClient.git
synced 2026-08-14 00:57:50 +00:00
Windows: Add border around splash screen. It's ugly otherwise.
This commit is contained in:
@@ -34,4 +34,10 @@ void SplashDialog::paintEvent(QPaintEvent *)
|
||||
QImage img(":/Icons/Splash.png");
|
||||
|
||||
p.drawImage(0, 0, img);
|
||||
|
||||
if (isSplash)
|
||||
{
|
||||
p.setPen(QPen(QColor(0, 0, 0)));
|
||||
p.drawRect(0, 0, width() - 1, height() - 1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user