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:
parent
44662310da
commit
eabff1b8e4
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user