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:
parent
685dee62d0
commit
dc5cd990b6
|
@ -90,8 +90,6 @@ void logMessageHandler(QtMsgType type, const QMessageLogContext& ctxt, const QSt
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <windows.h>
|
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
qInstallMessageHandler(logMessageHandler); // Enable log as early as possible
|
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() << "built on: " << __TIME__ << __DATE__ << "(" << TIMESTAMP << ")";
|
||||||
qDebug() << "commit: " << GIT_VERSION << "\n";
|
qDebug() << "commit: " << GIT_VERSION << "\n";
|
||||||
|
|
||||||
long unsigned int bufsize=100;
|
|
||||||
char buf[100];
|
|
||||||
GetUserNameA(buf, &bufsize);
|
|
||||||
|
|
||||||
#if defined(Q_OS_MACX) && defined(QT_RELEASE)
|
#if defined(Q_OS_MACX) && defined(QT_RELEASE)
|
||||||
osx::moveToAppFolder();
|
osx::moveToAppFolder();
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user