aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-03-18 07:32:23 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2013-03-18 07:32:23 +0000
commit70ac7e700d452b35496d037dc2a98da011e8bb51 (patch)
tree5e6b7598b90e05db0a601379a021063ceb87ac06 /src/qmmpui
parent4f5db50e270f1e0164ffbbf0a41a5872f4423716 (diff)
downloadqmmp-70ac7e700d452b35496d037dc2a98da011e8bb51.tar.gz
qmmp-70ac7e700d452b35496d037dc2a98da011e8bb51.tar.bz2
qmmp-70ac7e700d452b35496d037dc2a98da011e8bb51.zip
fixed 'radioitem' delegate
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3331 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui')
-rw-r--r--src/qmmpui/radioitemdelegate.cpp4
1 files changed, 2 insertions, 2 deletions
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<QMouseEvent*>(event);
if(!checkRect.contains(mouseEvent->pos()))
- return QStyledItemDelegate::editorEvent(event,model,option,index);
+ return true;
}
if (!index.data(Qt::CheckStateRole).toBool())