Files
qt5-legatus-legacy/Lts/Tools/Splash/Splash.cpp
T
2026-08-13 18:33:10 +02:00

36 lines
618 B
C++
Executable File

/**
* @RDE_HEADER@
* Splash Manager
* $Id$
* $HeadURL$
* $Author$
*
* Created by Mike Wille, NLE, 2019-06-21
*/
#include "Splash.h"
#include <LtsWidgets/lts_splash.h>
#include <QApplication>
Splash::Splash(const QString &lang)
: QObject(nullptr)
{
LtsWidgets::Splash::getInstance()->show();
QString message(QStringLiteral("Starting local server ..."));
if (lang == QStringLiteral("de_DE"))
message = QStringLiteral("Lokaler Server wird gestartet ...");
LtsWidgets::Splash::getInstance()->setMessage(message);
}
Splash::~Splash()
{
LtsWidgets::Splash::getInstance()->done();
}