Removed Qt4.4 specific style directive

git-svn-id: http://svn.osgeo.org/qgis/trunk@8793 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
timlinux 2008-07-16 15:37:05 +00:00
parent e40991ee32
commit 21186af124

View File

@ -184,7 +184,7 @@ void QgsDetailedItemDelegate::paintAsWidget(QPainter * thepPainter,
const QStyleOptionViewItem & theOption,
const QgsDetailedItemData theData) const
{
QApplication::style()->drawPrimitive(QStyle::PE_PanelItemViewItem, &theOption, thepPainter, 0);
mpWidget->setChecked(theData.isChecked());
mpWidget->setData(theData);
mpWidget->resize(theOption.rect.width(),mpWidget->height());