diff --git a/servatrice/src/main.cpp b/servatrice/src/main.cpp index 386e82fd..93a4ae1f 100644 --- a/servatrice/src/main.cpp +++ b/servatrice/src/main.cpp @@ -26,14 +26,14 @@ RNG_Abstract *rng; -void myMessageOutput(QtMsgType /*type*/, const char *msg) -{ - static FILE *f = NULL; - if (!f) - f = fopen("qdebug.txt", "w"); - fprintf(f, "%s\n", msg); - fflush(f); -} +//void myMessageOutput(QtMsgType /*type*/, const char *msg) +//{ +// static FILE *f = NULL; +// if (!f) +// f = fopen("qdebug.txt", "w"); +// fprintf(f, "%s\n", msg); +// fflush(f); +//} void testRNG() { @@ -71,7 +71,7 @@ void testRNG() int main(int argc, char *argv[]) { - qInstallMsgHandler(myMessageOutput); +// qInstallMsgHandler(myMessageOutput); QCoreApplication app(argc, argv); app.setOrganizationName("Cockatrice");