diff options
author | Tobias Koenig <tobias.koenig@kdab.com> | 2017-02-27 13:34:23 +0100 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2019-11-25 12:01:39 +0100 |
commit | 44abdb16fcff4898dc81ea3ed4b65b92c4f19d7a (patch) | |
tree | 25cf680b25afdfb59a1d49bd001f01e3011919fb /src/pdf/qpdfdocument.h | |
parent | e15148e389256f1fd0f41b16a236bc51f6aab2ca (diff) |
Fix emission of QPdfDocument::pageCountChanged signal
Emit the signal whenever the amount of pages changes on
loading/closing the document.
Change-Id: I0555a9cad93cb1f125ded19889eda91e08725592
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/pdf/qpdfdocument.h')
-rw-r--r-- | src/pdf/qpdfdocument.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pdf/qpdfdocument.h b/src/pdf/qpdfdocument.h index 78a0b5aed..751c1b31b 100644 --- a/src/pdf/qpdfdocument.h +++ b/src/pdf/qpdfdocument.h @@ -113,7 +113,7 @@ Q_SIGNALS: void passwordChanged(); void passwordRequired(); void statusChanged(QPdfDocument::Status status); - void pageCountChanged(); + void pageCountChanged(int pageCount); private: friend class QPdfBookmarkModelPrivate; |