
Originally Posted by
stampede
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:
void MainWindow::createLLabel()
{
localLabel
= new QLabel(tr
("Local view"), centralWidget
);
localLabel->setAlignment(Qt::AlignCenter);
}
void MainWindow::createLLabel()
{
localLabel = new QLabel(tr("Local view"), centralWidget);
localLabel->setAlignment(Qt::AlignCenter);
}
To copy to clipboard, switch view to plain text mode
Bookmarks