subsurface/desktop-widgets/tab-widgets/TabBase.cpp
Dirk Hohndel 6201ac34b4 desktop: automatically pick a good theme title color
The preference setting seemed far too strange to do this. And not very user
friendly. So instead we figure out if this is a dark theme or not by looking at
text and background colors in the palette, and make sure we get notified if
that changes.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2020-11-04 14:47:10 -08:00

11 lines
184 B
C++

// SPDX-License-Identifier: GPL-2.0
#include "TabBase.h"
TabBase::TabBase(QWidget *parent) : QWidget(parent)
{
}
void TabBase::updateUi(QString titleColor)
{
Q_UNUSED(titleColor)
}