mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-20 03:46:11 +00:00
Fixes #98. Codegraphics bar with dark theme.
This commit is contained in:
parent
33bdaef02a
commit
bfe44eb725
@ -17,7 +17,9 @@ GraphicsBar::GraphicsBar(MainWindow *main, QWidget *parent) :
|
|||||||
setWindowTitle("Code bar");
|
setWindowTitle("Code bar");
|
||||||
// setMovable(false);
|
// setMovable(false);
|
||||||
setContentsMargins(0, 0, 0, 0);
|
setContentsMargins(0, 0, 0, 0);
|
||||||
setStyleSheet("QToolBar { border: 0px; border-bottom: 0px; border-top: 0px; border-width: 0px;}");
|
// If line below is used, with the dark theme the paintEvent is not called
|
||||||
|
// and the result is wrong. Something to do with overwriting the style sheet :/
|
||||||
|
//setStyleSheet("QToolBar { border: 0px; border-bottom: 0px; border-top: 0px; border-width: 0px;}");
|
||||||
|
|
||||||
this->codeGraphic = new QGraphicsView();
|
this->codeGraphic = new QGraphicsView();
|
||||||
// Radare core found in:
|
// Radare core found in:
|
||||||
|
Loading…
Reference in New Issue
Block a user