instead of

Qt Code:
  1. this->cboPoint->insertItem(QString::number(my_pointsizes[j]),j);
To copy to clipboard, switch view to plain text mode 

try

Qt Code:
  1. this->cboPoint->insertItem(QString::number(my_pointsizes[j]));
To copy to clipboard, switch view to plain text mode