Hi, everybody, its my first time here.

I have a little problem, I am a beginner in qt, but I liking it. Well, to the problem:

Qt Code:
  1. QString helper;
  2. item1 = ui.mywidget_table->item(0,1);
  3. helper = item1->text();
To copy to clipboard, switch view to plain text mode 

I´ve received a error in the last line because my cell is empty, but I think that I need to test if the cell is empty, how can I make that?

Thx in advance.

Jorge.