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:
@@ -5,9 +5,8 @@
|
||||
#include <QAbstractTableModel>
|
||||
|
||||
#include "canbus.h"
|
||||
#include "connections/canconnection.h"
|
||||
#include "connectionwindow.h"
|
||||
|
||||
class CANConnection;
|
||||
|
||||
class CANConnectionModel : public QAbstractTableModel
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user