From d11826b8adb46f6a3b70b3caeff8300911ce7226 Mon Sep 17 00:00:00 2001 From: Nils Schmidt Date: Tue, 22 Aug 2023 20:45:07 +0200 Subject: [PATCH] Fixed issue #979. --- src/org/nschmidt/ldparteditor/splash/SplashScreen.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/org/nschmidt/ldparteditor/splash/SplashScreen.java b/src/org/nschmidt/ldparteditor/splash/SplashScreen.java index a48b1febb..2f2f4e5c1 100644 --- a/src/org/nschmidt/ldparteditor/splash/SplashScreen.java +++ b/src/org/nschmidt/ldparteditor/splash/SplashScreen.java @@ -52,7 +52,6 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of import org.nschmidt.ldparteditor.data.PGTimestamp; import org.nschmidt.ldparteditor.dialog.startup.StartupDialog; import org.nschmidt.ldparteditor.enumtype.LDConfig; -import org.nschmidt.ldparteditor.helper.LDPartEditorException; import org.nschmidt.ldparteditor.helper.ProgressHelper; import org.nschmidt.ldparteditor.helper.ShellHelper; import org.nschmidt.ldparteditor.helper.Version; @@ -316,20 +315,12 @@ public void run() { display.readAndDispatch(); } // Close the splash.. - try { - Thread.sleep(800); - } catch (InterruptedException ie) { - Thread.currentThread().interrupt(); - throw new LDPartEditorException(ie); - } close(); while (!bar.isDisposed()) { if (!Display.getCurrent().readAndDispatch()) { Display.getCurrent().sleep(); } } - // ..and dispose the splash image, because it is not needed anymore - ResourceManager.disposeImage("imgSplash.png"); //$NON-NLS-1$ // Check if we were ran into trouble.. if (threadReturn[0] != ReturnType.NO_ERROR) { MessageBox messageBox = new MessageBox(new Shell(), SWT.ICON_ERROR);