diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2015-11-11 05:21:51 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2015-11-11 05:21:51 +0000 |
| commit | 93a629f11d3b8ff9454093378d15cb75629919e7 (patch) | |
| tree | 9d8cff6b694d00ce4dc21ad93cb5af5b9eed571c /src/qmmpui | |
| parent | c0cfcc9dd6d12c649f083e17fc7dffd8a0abbfe5 (diff) | |
| download | qmmp-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.cpp | 2 |
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; |
