UI: Fix formatting
This commit is contained in:
parent
76cc739c7f
commit
2bb780468c
@ -1501,8 +1501,9 @@ void OBSPropertiesView::AddProperty(obs_property_t *property,
|
|||||||
widget->setEnabled(false);
|
widget->setEnabled(false);
|
||||||
|
|
||||||
if (obs_property_long_description(property)) {
|
if (obs_property_long_description(property)) {
|
||||||
QString file = !App()->IsThemeDark() ? ":/res/images/help.svg"
|
QString file = !App()->IsThemeDark()
|
||||||
: ":/res/images/help_light.svg";
|
? ":/res/images/help.svg"
|
||||||
|
: ":/res/images/help_light.svg";
|
||||||
if (label) {
|
if (label) {
|
||||||
QString lStr = "<html>%1 <img src='%2' style=' \
|
QString lStr = "<html>%1 <img src='%2' style=' \
|
||||||
vertical-align: bottom; \
|
vertical-align: bottom; \
|
||||||
|
@ -1695,7 +1695,7 @@ void SourceTree::UpdateNoSourcesMessage()
|
|||||||
GetDataFilePath("themes/Dark/no_sources.svg", darkPath);
|
GetDataFilePath("themes/Dark/no_sources.svg", darkPath);
|
||||||
|
|
||||||
QString file = !App()->IsThemeDark() ? ":res/images/no_sources.svg"
|
QString file = !App()->IsThemeDark() ? ":res/images/no_sources.svg"
|
||||||
: darkPath.c_str();
|
: darkPath.c_str();
|
||||||
iconNoSources.load(file);
|
iconNoSources.load(file);
|
||||||
|
|
||||||
QTextOption opt(Qt::AlignHCenter);
|
QTextOption opt(Qt::AlignHCenter);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user