QVariant row
= ui...._tableWidget
->currentRow
();
if (row.toBool()) {
atual_row = row.toInt();
...
QVariant row = ui...._tableWidget->currentRow();
if (row.toBool()) {
atual_row = row.toInt();
...
To copy to clipboard, switch view to plain text mode
or
if (ui...._tableWidget->currentRow()) {
...
if (ui...._tableWidget->currentRow()) {
...
To copy to clipboard, switch view to plain text mode
It´s crasshing my application if no row is selected on qtablewidget. The copilation is ok.
Alternativily, how to known if some row is selected or no on qtablewidget?
I use Qt 4.1.3, MingW, Windows XP.
Bookmarks