[Chinese-commits] [fqterm] 65/76: imageviewer.cpp: Qt5:docheck -> Qt4: check

Boyuan Yang hosiet-guest at moszumanska.debian.org
Thu Oct 27 03:17:02 UTC 2016


This is an automated email from the git hooks/post-receive script.

hosiet-guest pushed a commit to branch master
in repository fqterm.

commit e0ab5110dc0e97a7cacfd5a856c472f0ec1aff1e
Author: Iru Cai <mytbk920423 at gmail.com>
Date:   Sun Feb 8 13:28:07 2015 +0800

    imageviewer.cpp: Qt5:docheck -> Qt4: check
---
 src/ui/imageviewer.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/ui/imageviewer.cpp b/src/ui/imageviewer.cpp
index 79677c9..37cb917 100644
--- a/src/ui/imageviewer.cpp
+++ b/src/ui/imageviewer.cpp
@@ -1711,7 +1711,11 @@ namespace FQTerm {
 
     if (value.isValid()) {
       checkState = static_cast<Qt::CheckState>(value.toInt());
+#if QT_VERSION >= 0x050000
       checkRect = doCheck(opt, opt.rect, value);
+#else
+      checkRect = check(opt, opt.rect, value);
+#endif
     }
 
     // do the layout

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/chinese/fqterm.git



More information about the Chinese-commits mailing list