mirror of
https://github.com/ARMSX2/ARMSX2.git
synced 2026-08-24 16:50:16 -07:00
Qt: Tidy up Tools menu
Make System Console and Verbose contingent on Advanced Settings being enabled. Make Debug Console contingent on actually running under a debugger.
This commit is contained in:
committed by
Connor McLaughlin
parent
4b6ddaf09e
commit
f9833bb8af
@@ -271,6 +271,15 @@ cleanup:
|
||||
#endif
|
||||
}
|
||||
|
||||
bool Log::IsDebugOutputAvailable()
|
||||
{
|
||||
#ifdef _WIN32
|
||||
return IsDebuggerPresent();
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
bool Log::IsDebugOutputEnabled()
|
||||
{
|
||||
return (s_console_level > LOGLEVEL_NONE);
|
||||
|
||||
Reference in New Issue
Block a user