diff --git a/Vocaluxe/Base/CMain.cs b/Vocaluxe/Base/CMain.cs index c52a77a3..5856bab5 100644 --- a/Vocaluxe/Base/CMain.cs +++ b/Vocaluxe/Base/CMain.cs @@ -434,9 +434,9 @@ namespace Vocaluxe.Base class CBlog : ILog { - public void LogError(string errorText) + public void LogError(string errorText, bool showMsg = false, bool exit = false) { - CLog.LogError(errorText); + CLog.LogError(errorText, showMsg, exit); } public void LogDebug(string text) diff --git a/VocaluxeLib/IBasic.cs b/VocaluxeLib/IBasic.cs index 404e55a2..ef14e905 100644 --- a/VocaluxeLib/IBasic.cs +++ b/VocaluxeLib/IBasic.cs @@ -152,7 +152,7 @@ namespace VocaluxeLib public interface ILog { - void LogError(string errorText); + void LogError(string errorText, bool showMsg = false, bool exit = false); void LogDebug(string text); void LogSongInfo(string text); } diff --git a/VocaluxeLib/Menu/CStatic.cs b/VocaluxeLib/Menu/CStatic.cs index 327dfc14..6d4c2e35 100644 --- a/VocaluxeLib/Menu/CStatic.cs +++ b/VocaluxeLib/Menu/CStatic.cs @@ -16,7 +16,6 @@ #endregion using System; -using System.Drawing; using System.Xml; using VocaluxeLib.Draw;