From 70ac7e700d452b35496d037dc2a98da011e8bb51 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 18 Mar 2013 07:32:23 +0000 Subject: fixed 'radioitem' delegate git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3331 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/radioitemdelegate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/qmmpui/radioitemdelegate.cpp') diff --git a/src/qmmpui/radioitemdelegate.cpp b/src/qmmpui/radioitemdelegate.cpp index a65930f7b..232434343 100644 --- a/src/qmmpui/radioitemdelegate.cpp +++ b/src/qmmpui/radioitemdelegate.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2012 by Ilya Kotov * + * Copyright (C) 2012-2013 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -93,7 +93,7 @@ bool RadioItemDelegate::editorEvent(QEvent *event, QAbstractItemModel *model, QMouseEvent *mouseEvent = dynamic_cast(event); if(!checkRect.contains(mouseEvent->pos())) - return QStyledItemDelegate::editorEvent(event,model,option,index); + return true; } if (!index.data(Qt::CheckStateRole).toBool()) -- cgit v1.2.3-13-gbd6f