Skip to content
This repository has been archived by the owner on Nov 5, 2020. It is now read-only.

Commit

Permalink
Halfway solved the flashing screen problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Hary309 committed May 30, 2017
1 parent 6f8c559 commit 4fdd0a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/PK Creator/BlueprintEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ BlueprintEditor::BlueprintEditor(QWidget *parent)
m_viewMoved = false;

m_waitingForNewNode = false;
setStyleSheet("background-color: #212121;");

setAttribute(Qt::WA_PaintOnScreen);
setAttribute(Qt::WA_NoSystemBackground);
Expand Down
2 changes: 1 addition & 1 deletion src/PK Creator/EventObjectItemWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ EventObjectItemWindow::EventObjectItemWindow(QWidget *parent)

auto gridLayout = new QGridLayout(centralWidget);
gridLayout->setMargin(0);

setStyleSheet("background-color: #212121;");
m_pBpEditor = new BlueprintEditor(this);
gridLayout->addWidget(m_pBpEditor);

Expand Down

0 comments on commit 4fdd0a0

Please sign in to comment.