Use QPalette::Base as background for SuggestRemoteDialog

* Removes hardcoded #fff white background which breaks on other themes.
This commit is contained in:
baldurk
2017-05-29 16:59:02 +01:00
parent 09c9ae94d2
commit a504355900
2 changed files with 3 additions and 3 deletions
@@ -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>