refs #336 Convenience methods to create validation messages.

This commit is contained in:
Mathew Sutcliffe
2014-10-15 01:53:54 +01:00
parent 5991981789
commit d0894d2cf9
6 changed files with 48 additions and 18 deletions

View File

@@ -237,7 +237,7 @@ namespace BlackGui
CServer server = this->ps_selectedServerFromTextboxes();
if (!server.isValidForLogin())
{
CLogMessage(CLogCategory::validation()).error("Wrong settings for server");
CLogMessage().validationWarning("Wrong settings for server");
return;
}