r21556 by craig - Fix deprecated Qt class warning

scribus-commit scribus-commit at lists.scribus.net
Wed Nov 30 18:14:31 UTC 2016


Author: craig
Date: Wed Nov 30 18:14:31 2016
New Revision: 21556

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21556
Log:
Fix deprecated Qt class warning

Modified:
    trunk/Scribus/scribus/ui/proptree.cpp

Modified: trunk/Scribus/scribus/ui/proptree.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21556&path=/trunk/Scribus/scribus/ui/proptree.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/proptree.cpp	(original)
+++ trunk/Scribus/scribus/ui/proptree.cpp	Wed Nov 30 18:14:31 2016
@@ -475,7 +475,7 @@
 
 void PropTreeWidget::drawRow(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
 {
-	QStyleOptionViewItemV3 opt = option;
+	QStyleOptionViewItem opt = option;
 	QTreeWidget::drawRow(painter, opt, index);
 	QColor color = static_cast<QRgb>(QApplication::style()->styleHint(QStyle::SH_Table_GridLineColor, &opt));
 	painter->save();




More information about the scribus-commit mailing list