summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qtextcursor_p.h
diff options
context:
space:
mode:
authorhjk <hjk@theqtcompany.com>2016-01-27 08:44:44 +0100
committerhjk <hjk@theqtcompany.com>2016-01-28 18:42:14 +0000
commit3f482fad3c136b1b2f485dce823985bfa0922a3e (patch)
treea87c4781bbc4d68ee7e3ef2556d44c88c157c1e9 /src/gui/text/qtextcursor_p.h
parent4c8cb329d458196105d73f08426c8f3b18d61ec7 (diff)
Revert some changes to QTextCursor constructors
This partially reverts the source and binary incompatible parts of change d921a9bd157b04242722ab4326c5f2ea8e88cbea that made public members in an exported class private and changed signature in one case. Task-number: QTBUG-50703 Change-Id: I2719f276256206347d3c27d80a16db34a4ea2888 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/gui/text/qtextcursor_p.h')
-rw-r--r--src/gui/text/qtextcursor_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qtextcursor_p.h b/src/gui/text/qtextcursor_p.h
index 983ff13742..d3cb52d94f 100644
--- a/src/gui/text/qtextcursor_p.h
+++ b/src/gui/text/qtextcursor_p.h
@@ -101,7 +101,7 @@ public:
void aboutToRemoveCell(int from, int to);
static QTextCursor fromPosition(QTextDocumentPrivate *d, int pos)
- { return QTextCursor(*d, pos); }
+ { return QTextCursor(d, pos); }
QTextDocumentPrivate *priv;
qreal x;