Quote Originally Posted by stampede View Post
For me this one looks more like createLLabel Is this a typo, or you've just pasted wrong method ?
There should be no errors in posted code.
I pasted the wrong one, thanks for pointing it out But createLLabel is basically the same with a different label:

Qt Code:
  1. void MainWindow::createLLabel()
  2. {
  3. localLabel = new QLabel(tr("Local view"), centralWidget);
  4. localLabel->setAlignment(Qt::AlignCenter);
  5. }
To copy to clipboard, switch view to plain text mode