diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/imageviewer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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 |