[PATCH] Include the right class, not QDebug

Anton Lundin glance at acc.umu.se
Thu Jan 8 14:14:18 PST 2015


QTextStream gets pulled in by QDebug, but this includes the right header
instead.

Signed-off-by: Anton Lundin <glance at acc.umu.se>
---
 configuredivecomputer.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configuredivecomputer.cpp b/configuredivecomputer.cpp
index 0997a16..4f7e873 100644
--- a/configuredivecomputer.cpp
+++ b/configuredivecomputer.cpp
@@ -1,6 +1,6 @@
 #include "configuredivecomputer.h"
 #include "libdivecomputer/hw.h"
-#include <QDebug>
+#include <QTextStream>
 #include <QFile>
 #include <libxml/parser.h>
 #include <libxml/parserInternals.h>
-- 
2.1.0



More information about the subsurface mailing list