mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-11 20:55:06 +01:00
Resolve issue accidentally left unaddressed in PR #930
This commit is contained in:
parent
baba0efcd1
commit
a48aa4f924
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user