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

Correct hearder file for windows

This commit is contained in:
PKEv 2015-03-20 00:13:56 +03:00
parent 44662310da
commit eabff1b8e4

View File

@ -4,7 +4,12 @@
#include <QBuffer>
#include <QImage>
#include <qrencode.h>
#include <sys/errno.h>
#ifdef Q_OS_WIN32
#include <errno.h>
#else
#include <sys/errno.h>
#endif
QRWidget::QRWidget(QWidget *parent) : QWidget(parent), data("0")
//Note: The encoding fails with empty string so I just default to something else.