summaryrefslogtreecommitdiffstats
path: root/examples/tutorials/threads/clock
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tutorials/threads/clock')
-rw-r--r--examples/tutorials/threads/clock/clockthread.cpp2
-rwxr-xr-xexamples/tutorials/threads/clock/main.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/tutorials/threads/clock/clockthread.cpp b/examples/tutorials/threads/clock/clockthread.cpp
index 01d3f1f697..f4721d8ed4 100644
--- a/examples/tutorials/threads/clock/clockthread.cpp
+++ b/examples/tutorials/threads/clock/clockthread.cpp
@@ -38,7 +38,7 @@
**
****************************************************************************/
-#include <QtGui>
+#include <QtWidgets>
#include "clockthread.h"
//This class starts another thread where it emits a signal for every new second.
diff --git a/examples/tutorials/threads/clock/main.cpp b/examples/tutorials/threads/clock/main.cpp
index a0f86d6bc7..99cbd4e693 100755
--- a/examples/tutorials/threads/clock/main.cpp
+++ b/examples/tutorials/threads/clock/main.cpp
@@ -38,7 +38,7 @@
**
****************************************************************************/
-#include <QtGui>
+#include <QtWidgets>
#include "clockthread.h"
//A clock that does time formatting in another thread