diff options
author | Paul Wicking <paul.wicking@qt.io> | 2019-02-01 13:33:25 +0100 |
---|---|---|
committer | Paul Wicking <paul.wicking@qt.io> | 2019-02-01 13:33:26 +0100 |
commit | 2bc362c9fa37455afbeb56e5f1852188ede3eab4 (patch) | |
tree | b89e3c2c082a0285e8cd91733ddbc772fe4362a5 /src/gui/text/qtextlist.h | |
parent | 5de981d3bc3df874f9df35a6899345f4f61fa951 (diff) | |
parent | 481db443d502c8ebc169b7256cb696428cf02199 (diff) |
Merge dev into 5.13
Change-Id: I8113c6d8735a151bd152e6096f8c8b8e63a05474
Diffstat (limited to 'src/gui/text/qtextlist.h')
-rw-r--r-- | src/gui/text/qtextlist.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/text/qtextlist.h b/src/gui/text/qtextlist.h index 3967787f03..cfb9f9456f 100644 --- a/src/gui/text/qtextlist.h +++ b/src/gui/text/qtextlist.h @@ -59,8 +59,11 @@ public: int count() const; +#if QT_DEPRECATED_SINCE(5, 13) + QT_DEPRECATED_X("Use count() instead") inline bool isEmpty() const { return count() == 0; } +#endif QTextBlock item(int i) const; |