Untangle include forrest

Every change in connectionwindow.h led to a heavy project
compile, as the header was included in other headers.

Avoid this by using forward declarations and only include
connectionwindow.h in the C++ files that actually use it.
This commit is contained in:
Andre Hartmann
2017-11-25 17:27:08 +01:00
parent 380e3c9da2
commit 560701e208
3 changed files with 3 additions and 3 deletions
+1 -2
View File
@@ -5,9 +5,8 @@
#include <QAbstractTableModel>
#include "canbus.h"
#include "connections/canconnection.h"
#include "connectionwindow.h"
class CANConnection;
class CANConnectionModel : public QAbstractTableModel
{