1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Remove some Windows debug code

This commit is contained in:
tux3 2015-12-10 21:07:38 +01:00
parent 685dee62d0
commit dc5cd990b6
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -90,8 +90,6 @@ void logMessageHandler(QtMsgType type, const QMessageLogContext& ctxt, const QSt
#endif
}
#include <windows.h>
int main(int argc, char *argv[])
{
qInstallMessageHandler(logMessageHandler); // Enable log as early as possible
@ -145,10 +143,6 @@ int main(int argc, char *argv[])
qDebug() << "built on: " << __TIME__ << __DATE__ << "(" << TIMESTAMP << ")";
qDebug() << "commit: " << GIT_VERSION << "\n";
long unsigned int bufsize=100;
char buf[100];
GetUserNameA(buf, &bufsize);
#if defined(Q_OS_MACX) && defined(QT_RELEASE)
osx::moveToAppFolder();
#endif