aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2015-11-11 05:21:51 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2015-11-11 05:21:51 +0000
commit93a629f11d3b8ff9454093378d15cb75629919e7 (patch)
tree9d8cff6b694d00ce4dc21ad93cb5af5b9eed571c /src/qmmpui
parentc0cfcc9dd6d12c649f083e17fc7dffd8a0abbfe5 (diff)
downloadqmmp-93a629f11d3b8ff9454093378d15cb75629919e7.tar.gz
qmmp-93a629f11d3b8ff9454093378d15cb75629919e7.tar.bz2
qmmp-93a629f11d3b8ff9454093378d15cb75629919e7.zip
fix crash in settings window, modules tab (patch by Ivan Ponomarev)
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@5740 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui')
-rw-r--r--src/qmmpui/radioitemdelegate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmmpui/radioitemdelegate.cpp b/src/qmmpui/radioitemdelegate.cpp
index ee0be8bea..448bf9205 100644
--- a/src/qmmpui/radioitemdelegate.cpp
+++ b/src/qmmpui/radioitemdelegate.cpp
@@ -90,7 +90,7 @@ bool RadioItemDelegate::editorEvent(QEvent *event, QAbstractItemModel *model,
{
QRect checkRect = qApp->style()->subElementRect(QStyle::SE_RadioButtonIndicator, &option);
- QMouseEvent *mouseEvent = dynamic_cast<QMouseEvent*>(event);
+ QMouseEvent *mouseEvent = static_cast<QMouseEvent*>(event);
if(!checkRect.contains(mouseEvent->pos()))
return true;