Преглед изворни кода

Resolve issue accidentally left unaddressed in PR #930

Yuri Kunde Schlesner пре 11 година
родитељ
комит
a48aa4f924
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/citra_qt/debugger/graphics_cmdlists.cpp

+ 1 - 1
src/citra_qt/debugger/graphics_cmdlists.cpp

@@ -345,7 +345,7 @@ void GPUCommandListWidget::CopyAllToClipboard() {
     QClipboard* clipboard = QApplication::clipboard();
     QClipboard* clipboard = QApplication::clipboard();
     QString text;
     QString text;
 
 
-    QAbstractItemModel* model = (QAbstractListModel*)list_widget->model();
+    QAbstractItemModel* model = static_cast<QAbstractListModel*>(list_widget->model());
 
 
     for (int row = 0; row < model->rowCount({}); ++row) {
     for (int row = 0; row < model->rowCount({}); ++row) {
         for (int col = 0; col < model->columnCount({}); ++col) {
         for (int col = 0; col < model->columnCount({}); ++col) {