mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Use QPalette::Base as background for SuggestRemoteDialog
* Removes hardcoded #fff white background which breaks on other themes.
This commit is contained in:
@@ -44,6 +44,9 @@ SuggestRemoteDialog::SuggestRemoteDialog(const QString &driver, const QString &m
|
||||
tr("to replay on. Would you like to load the capture locally or\n") +
|
||||
tr("back out to configure one in Tools > Manage Remote Servers?"));
|
||||
|
||||
ui->topFrame->setBackgroundRole(QPalette::Base);
|
||||
ui->topFrame->setAutoFillBackground(true);
|
||||
|
||||
m_Remotes = new QMenu(this);
|
||||
|
||||
ui->remote->setEnabled(false);
|
||||
|
||||
@@ -31,9 +31,6 @@
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QFrame" name="topFrame">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">background-color: #fff;</string>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::NoFrame</enum>
|
||||
</property>
|
||||
|
||||
Reference in New Issue
Block a user