[Pkg-owncloud-commits] [owncloud-client] 287/498: Fix Qt4 build
Sandro Knauß
hefee-guest at moszumanska.debian.org
Tue Aug 11 14:48:59 UTC 2015
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit 08fcf650eba929c337acd135dd2c0686d4572974
Author: Olivier Goffart <ogoffart at woboq.com>
Date: Wed Jul 8 19:48:57 2015 +0200
Fix Qt4 build
---
src/gui/folderstatusdelegate.cpp | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/gui/folderstatusdelegate.cpp b/src/gui/folderstatusdelegate.cpp
index b8cbc64..f19331b 100644
--- a/src/gui/folderstatusdelegate.cpp
+++ b/src/gui/folderstatusdelegate.cpp
@@ -101,7 +101,11 @@ void FolderStatusDelegate::paint(QPainter *painter, const QStyleOptionViewItem &
opt.state = QStyle::State_Enabled;
opt.text = addFolderText();
opt.rect.setWidth(qMin(opt.rect.width(), hint.width()));
- QApplication::style()->drawControl(QStyle::CE_PushButton, &opt, painter, option.widget);
+ QApplication::style()->drawControl(QStyle::CE_PushButton, &opt, painter
+#if QT_VERSION >= QT_VERSION_CHECK(5,0,0)
+ , option.widget
+#endif
+ );
return;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list