Avoid overriding style sheet for astronomical data dialog background

This commit is contained in:
Bill Somerville 2020-06-25 12:57:12 +01:00
parent 28b00fe494
commit ee157cde96
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F

View File

@ -46,7 +46,8 @@ Astro::Astro(QSettings * settings, Configuration const * configuration, QWidget
{
ui_->setupUi (this);
setWindowTitle (QApplication::applicationName () + " - " + tr ("Astronomical Data"));
setStyleSheet ("QWidget {background: white;}");
setBackgroundRole (QPalette::Base);
setAutoFillBackground (true);
connect (ui_->cbDopplerTracking, &QAbstractButton::toggled, ui_->doppler_widget, &QWidget::setVisible);
read_settings ();
ui_->text_label->clear ();