Commit 9f38b3f1 authored by Weixuan Xiao's avatar Weixuan Xiao Committed by Nicolas Fella

Remove splash screen after init

parent be9260fc
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment