summaryrefslogtreecommitdiffstats
path: root/src/Authoring/Studio/remotedeploymentsender.h
diff options
context:
space:
mode:
authorAdam Treat <adam.treat@qt.io>2017-10-23 09:42:00 -0400
committerAdam Treat <adam.treat@qt.io>2017-10-25 12:15:05 +0000
commit3550f5ab96d059ddb2df1a0f74e4dfed142663d1 (patch)
tree823c3e476f5a98181a4de9d5480f43f67dc308e7 /src/Authoring/Studio/remotedeploymentsender.h
parentb49e3e6018809b2c71ddf5ffc3c5865bc31d2135 (diff)
Optimize the remote deploy
Only send files that have changed since the last update and fix some issues with state changes on reload. Task-number: QT3DS-30 Change-Id: I5ba73cedd1a4a279808c4949284eddc98fe4fb0f Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'src/Authoring/Studio/remotedeploymentsender.h')
-rw-r--r--src/Authoring/Studio/remotedeploymentsender.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Authoring/Studio/remotedeploymentsender.h b/src/Authoring/Studio/remotedeploymentsender.h
index 6048497b..883cdaed 100644
--- a/src/Authoring/Studio/remotedeploymentsender.h
+++ b/src/Authoring/Studio/remotedeploymentsender.h
@@ -31,6 +31,7 @@
#define REMOTEDEPLOYMENTSENDER_H
#include <QtCore/qobject.h>
+#include <QtCore/qdatetime.h>
#include <QtWidgets/qwidget.h>
#include <QtNetwork/qtcpsocket.h>
@@ -61,6 +62,8 @@ private:
QTcpSocket *m_tcpSocket;
QWidget *m_mainWindow;
QMessageBox *m_connectionError;
+ QDateTime m_lastUpdate;
+ QString m_projectFile;
};
#endif // REMOTEDEPLOYMENTSENDER_H