diff options
author | Henrik Rydgard <hrydgard@gmail.com> | 2016-04-24 14:19:49 +0200 |
---|---|---|
committer | Henrik Rydgard <hrydgard@gmail.com> | 2016-04-24 14:19:49 +0200 |
commit | 01a1555b5d6d6b560c3168b76e5235175e7d081b (patch) | |
tree | 967156d129f91b2887560028f17856f121bd25e3 /src/citra_qt/debugger/graphics_breakpoints.cpp | |
parent | Merge pull request #1576 from smspillaz/fix-build-errors-03272016 (diff) | |
download | yuzu-01a1555b5d6d6b560c3168b76e5235175e7d081b.tar yuzu-01a1555b5d6d6b560c3168b76e5235175e7d081b.tar.gz yuzu-01a1555b5d6d6b560c3168b76e5235175e7d081b.tar.bz2 yuzu-01a1555b5d6d6b560c3168b76e5235175e7d081b.tar.lz yuzu-01a1555b5d6d6b560c3168b76e5235175e7d081b.tar.xz yuzu-01a1555b5d6d6b560c3168b76e5235175e7d081b.tar.zst yuzu-01a1555b5d6d6b560c3168b76e5235175e7d081b.zip |
Diffstat (limited to 'src/citra_qt/debugger/graphics_breakpoints.cpp')
-rw-r--r-- | src/citra_qt/debugger/graphics_breakpoints.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/citra_qt/debugger/graphics_breakpoints.cpp b/src/citra_qt/debugger/graphics_breakpoints.cpp index 819ec7707..c8510128a 100644 --- a/src/citra_qt/debugger/graphics_breakpoints.cpp +++ b/src/citra_qt/debugger/graphics_breakpoints.cpp @@ -75,7 +75,7 @@ QVariant BreakPointModel::data(const QModelIndex& index, int role) const case Role_IsEnabled: { auto context = context_weak.lock(); - return context && context->breakpoints[event].enabled; + return context && context->breakpoints[(int)event].enabled; } default: @@ -110,7 +110,7 @@ bool BreakPointModel::setData(const QModelIndex& index, const QVariant& value, i if (!context) return false; - context->breakpoints[event].enabled = value == Qt::Checked; + context->breakpoints[(int)event].enabled = value == Qt::Checked; QModelIndex changed_index = createIndex(index.row(), 0); emit dataChanged(changed_index, changed_index); return true; |