Remove splash screen after init
This commit is contained in:
parent
be9260fcc2
commit
9f38b3f1a7
2 changed files with 15 additions and 1 deletions
|
@ -70,7 +70,19 @@ MacOSIndicatorHelper::MacOSIndicatorHelper()
|
|||
m_splashScreen->show();
|
||||
}
|
||||
|
||||
MacOSIndicatorHelper::~MacOSIndicatorHelper() {}
|
||||
MacOSIndicatorHelper::~MacOSIndicatorHelper()
|
||||
{
|
||||
if (m_splashScreen) {
|
||||
delete m_splashScreen;
|
||||
}
|
||||
}
|
||||
|
||||
void MacOSIndicatorHelper::postInit()
|
||||
{
|
||||
if (m_splashScreen) {
|
||||
m_splashScreen->finish(nullptr);
|
||||
}
|
||||
}
|
||||
|
||||
void MacOSIndicatorHelper::iconPathHook()
|
||||
{
|
||||
|
|
|
@ -54,6 +54,8 @@ public:
|
|||
MacOSIndicatorHelper();
|
||||
~MacOSIndicatorHelper();
|
||||
|
||||
void postInit();
|
||||
|
||||
void iconPathHook();
|
||||
|
||||
int daemonHook(QProcess &kdeconnectd);
|
||||
|
|
Loading…
Reference in a new issue