mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
Don't try to log if the log file hasnt been setup
This commit is contained in:
@@ -78,6 +78,11 @@ namespace Logger
|
||||
static void
|
||||
log( const char *msg, unsigned int debugLevel, bool toDisk = true )
|
||||
{
|
||||
if( logStream.isNull() )
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if ( s_threshold < 0 )
|
||||
{
|
||||
if ( qApp->arguments().contains( "--verbose" ) )
|
||||
|
2
thirdparty/libcrashreporter-qt
vendored
2
thirdparty/libcrashreporter-qt
vendored
Submodule thirdparty/libcrashreporter-qt updated: 9bac9c15b4...8290c773c6
Reference in New Issue
Block a user