summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qlabel_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/widgets/qlabel_p.h')
-rw-r--r--src/widgets/widgets/qlabel_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/widgets/qlabel_p.h b/src/widgets/widgets/qlabel_p.h
index 000fcd2fec..b6f2db6a25 100644
--- a/src/widgets/widgets/qlabel_p.h
+++ b/src/widgets/widgets/qlabel_p.h
@@ -56,7 +56,7 @@
#include "qlabel.h"
#include "private/qtextdocumentlayout_p.h"
-#include "private/qtextcontrol_p.h"
+#include "private/qwidgettextcontrol_p.h"
#include "qtextdocumentfragment.h"
#include "qframe_p.h"
#include "qtextdocument.h"
@@ -112,7 +112,7 @@ public:
mutable uint isTextLabel : 1;
mutable uint hasShortcut : 1;
Qt::TextFormat textformat;
- mutable QTextControl *control;
+ mutable QWidgetTextControl *control;
mutable QTextCursor shortcutCursor;
Qt::TextInteractionFlags textInteractionFlags;