Cant use -1, id is an unsigned int!

This commit is contained in:
craig.p.drummond
2014-03-07 17:18:54 +00:00
parent 75ed16444f
commit 668df01fa8

View File

@@ -32,7 +32,7 @@
struct Output
{
Output(quint8 i, bool en, QString n) : id(i), enabled(en), name(n) { }
Output() : id(-1), enabled(false) { }
Output() : id(0xFF), enabled(false) { }
Output(const Output &o) { *this=o; }