mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-31 00:35:05 +00:00
Use more specific stylesheet selecters. (#1668)
Prevents unintend application of style to internal subwidgets.
This commit is contained in:
parent
f830fc17fb
commit
6ee6b41786
@ -71,8 +71,8 @@ DisassemblyWidget::DisassemblyWidget(MainWindow *main, QAction *action)
|
||||
mDisasScrollArea->setVerticalScrollBarPolicy(Qt::ScrollBarPolicy::ScrollBarAlwaysOff);
|
||||
// Use stylesheet instead of QWidget::setFrameShape(QFrame::NoShape) to avoid
|
||||
// issues with dark and light interface themes
|
||||
mDisasScrollArea->setStyleSheet("border: 0px transparent black;");
|
||||
mDisasTextEdit->setStyleSheet("border: 0px transparent black;");
|
||||
mDisasScrollArea->setStyleSheet("QAbstractScrollArea { border: 0px transparent black; }");
|
||||
mDisasTextEdit->setStyleSheet("QPlainTextEdit { border: 0px transparent black; }");
|
||||
mDisasTextEdit->setFocusProxy(this);
|
||||
mDisasTextEdit->setFocusPolicy(Qt::ClickFocus);
|
||||
mDisasScrollArea->setFocusProxy(this);
|
||||
|
Loading…
Reference in New Issue
Block a user