mirror of
https://github.com/leozide/leocad
synced 2024-11-17 07:47:55 +01:00
Fixed AA not being applied to the preview widget.
This commit is contained in:
parent
3050b4a768
commit
8dad9dd269
1 changed files with 5 additions and 5 deletions
|
@ -145,11 +145,6 @@ void lcMainWindow::CreateWidgets()
|
|||
setWindowIcon(QIcon(":/resources/leocad.png"));
|
||||
setWindowFilePath(QString());
|
||||
|
||||
CreateActions();
|
||||
CreateToolBars();
|
||||
CreateMenus();
|
||||
CreateStatusBar();
|
||||
|
||||
int AASamples = lcGetProfileInt(LC_PROFILE_ANTIALIASING_SAMPLES);
|
||||
if (AASamples > 1)
|
||||
{
|
||||
|
@ -159,6 +154,11 @@ void lcMainWindow::CreateWidgets()
|
|||
QGLFormat::setDefaultFormat(format);
|
||||
}
|
||||
|
||||
CreateActions();
|
||||
CreateToolBars();
|
||||
CreateMenus();
|
||||
CreateStatusBar();
|
||||
|
||||
mModelTabWidget = new lcTabWidget();
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
|
||||
mModelTabWidget->tabBar()->setMovable(true);
|
||||
|
|
Loading…
Reference in a new issue