From: konrad Date: Tue, 29 Dec 2009 21:54:01 +0000 (+0000) Subject: give user a hint where the log goes X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=20204d87d66a4f558c46c238cb70efc5816c56fc;p=konrad%2Fsmoke.git give user a hint where the log goes git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@374 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33 --- diff --git a/src/misc/debug.cpp b/src/misc/debug.cpp index bb52125..e533ea8 100644 --- a/src/misc/debug.cpp +++ b/src/misc/debug.cpp @@ -40,6 +40,7 @@ void initDebug() //...open it if(mylogFile->open(QIODevice::WriteOnly|QIODevice::Append|QIODevice::Text)){ //install as default log + qDebug("Installing debuglog in %s",mylogFile->fileName().toAscii().data()); qInstallMsgHandler(mymsghandler); }else{ //hmm, failed to open, well hope that stderr is working...