mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Remove most stylesheet use as this messes with a custom style
* Use palettes where a certain colour is needed. * Still need some solution for table borders in grid layouts
This commit is contained in:
@@ -109,7 +109,6 @@ MainWindow::MainWindow(ICaptureContext &ctx) : QMainWindow(NULL), ui(new Ui::Mai
|
||||
contextChooser->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
|
||||
contextChooser->setPopupMode(QToolButton::InstantPopup);
|
||||
contextChooser->setMenu(contextChooserMenu);
|
||||
contextChooser->setStyleSheet(lit("QToolButton::menu-indicator { image: none; }"));
|
||||
contextChooser->setContextMenuPolicy(Qt::DefaultContextMenu);
|
||||
QObject::connect(contextChooserMenu, &QMenu::aboutToShow, this,
|
||||
&MainWindow::contextChooser_menuShowing);
|
||||
@@ -158,8 +157,6 @@ MainWindow::MainWindow(ICaptureContext &ctx) : QMainWindow(NULL), ui(new Ui::Mai
|
||||
});
|
||||
m_RemoteProbe->start();
|
||||
|
||||
ui->statusBar->setStyleSheet(lit("QStatusBar::item { border: 0px }"));
|
||||
|
||||
SetTitle();
|
||||
|
||||
PopulateRecentFiles();
|
||||
|
||||
Reference in New Issue
Block a user