]> git.notmuchmail.org Git - apitrace/commitdiff
gui: Fix includes.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 12 Apr 2013 09:27:31 +0000 (10:27 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 12 Apr 2013 09:34:23 +0000 (10:34 +0100)
stdio.h doesn't seem necessary. stdlib.h might be though, for exit().

gui/main.cpp

index 121e323a3344f4dae5a8d827afad3d7977888d16..b98bce60dcff045238890051f990c7bc502c8554 100644 (file)
@@ -1,3 +1,5 @@
+#include <stdlib.h>
+
 #include "mainwindow.h"
 
 #include "apitrace.h"
 #include "mainwindow.h"
 
 #include "apitrace.h"
@@ -11,8 +13,6 @@
 #include <QVariant>
 #include <QImage>
 
 #include <QVariant>
 #include <QImage>
 
-#include <stdio.h>
-
 Q_DECLARE_METATYPE(QList<ApiTraceFrame*>);
 Q_DECLARE_METATYPE(QVector<ApiTraceCall*>);
 Q_DECLARE_METATYPE(Qt::CaseSensitivity);
 Q_DECLARE_METATYPE(QList<ApiTraceFrame*>);
 Q_DECLARE_METATYPE(QVector<ApiTraceCall*>);
 Q_DECLARE_METATYPE(Qt::CaseSensitivity);