Shader Debugger: Fix freeze when double-clicking shader disassembly

This commit is contained in:
Yuri Kunde Schlesner 2015-08-19 05:51:12 -03:00
parent 2d195ba64e
commit c1beb2ce20
3 changed files with 4 additions and 14 deletions

View file

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