set application format rather than viewerwidget format

This commit is contained in:
itsmattkc
2019-02-28 03:02:17 -08:00
parent eb4c2fdad3
commit 8b648ebcef
2 changed files with 4 additions and 4 deletions
-4
View File
@@ -74,10 +74,6 @@ ViewerWidget::ViewerWidget(QWidget *parent) :
setMouseTracking(true);
setFocusPolicy(Qt::ClickFocus);
QSurfaceFormat format;
format.setDepthBufferSize(24);
setFormat(format);
setContextMenuPolicy(Qt::CustomContextMenu);
connect(this, SIGNAL(customContextMenuRequested(const QPoint&)), this, SLOT(show_context_menu()));