diff --git a/cpp/widgets/reader.cpp b/cpp/widgets/reader.cpp index 9cb1cc3..97c5ba5 100644 --- a/cpp/widgets/reader.cpp +++ b/cpp/widgets/reader.cpp @@ -407,22 +407,6 @@ void SimpleTableView::keyPressEvent(QKeyEvent *event) { // Third column toClip += cells.at(3*i+2).data().toString() + "\n"; } - // QString text; - // int currentRow = 0; // To determine when to insert newlines - // foreach (const QModelIndex& cell, cells) { - // if (text.length() == 0) { - // // First item - // } else if (cell.row() != currentRow) { - // // New row - // text += '\n'; - // } else { - // // Next cell - // text += '\t'; - // } - // currentRow = cell.row(); - // text += cell.data().toString(); - // } -// qDebug() << toClip; QApplication::clipboard()->setText(toClip); }