Set the default icon of View3DInventor
This commit is contained in:
@@ -1821,7 +1821,6 @@ MDIView *Document::createView(const Base::Type& typeId)
|
||||
|
||||
view3D->setWindowTitle(title);
|
||||
view3D->setWindowModified(this->isModified());
|
||||
view3D->setWindowIcon(QApplication::windowIcon());
|
||||
view3D->resize(400, 300);
|
||||
|
||||
if (!cameraSettings.empty()) {
|
||||
|
||||
@@ -57,6 +57,7 @@
|
||||
#include "View3DInventor.h"
|
||||
#include "View3DSettings.h"
|
||||
#include "Application.h"
|
||||
#include "BitmapFactory.h"
|
||||
#include "Camera.h"
|
||||
#include "Document.h"
|
||||
#include "FileDialog.h"
|
||||
@@ -134,6 +135,8 @@ View3DInventor::View3DInventor(Gui::Document* pcDocument, QWidget* parent,
|
||||
|
||||
stopSpinTimer = new QTimer(this);
|
||||
connect(stopSpinTimer, &QTimer::timeout, this, &View3DInventor::stopAnimating);
|
||||
|
||||
setWindowIcon(Gui::BitmapFactory().pixmap("Document"));
|
||||
}
|
||||
|
||||
View3DInventor::~View3DInventor()
|
||||
|
||||
Reference in New Issue
Block a user