1
0
Fork 0

Resolve issue accidentally left unaddressed in PR #930

This commit is contained in:
Yuri Kunde Schlesner 2015-07-21 06:48:30 -03:00
parent baba0efcd1
commit a48aa4f924
1 changed files with 1 additions and 1 deletions

View File

@ -345,7 +345,7 @@ void GPUCommandListWidget::CopyAllToClipboard() {
QClipboard* clipboard = QApplication::clipboard();
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 col = 0; col < model->columnCount({}); ++col) {