give user a hint where the log goes
authorkonrad <konrad@6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33>
Tue, 29 Dec 2009 21:54:01 +0000 (21:54 +0000)
committerkonrad <konrad@6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33>
Tue, 29 Dec 2009 21:54:01 +0000 (21:54 +0000)
git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@374 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33

src/misc/debug.cpp

index bb52125..e533ea8 100644 (file)
@@ -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...