浏览代码

UI: Fix formatting

Matt Gajownik 3 年之前
父节点
当前提交
2bb780468c
共有 2 个文件被更改,包括 4 次插入3 次删除
  1. 3 2
      UI/properties-view.cpp
  2. 1 1
      UI/source-tree.cpp

+ 3 - 2
UI/properties-view.cpp

@@ -1501,8 +1501,9 @@ void OBSPropertiesView::AddProperty(obs_property_t *property,
 		widget->setEnabled(false);
 
 	if (obs_property_long_description(property)) {
-		QString file = !App()->IsThemeDark() ? ":/res/images/help.svg"
-					  : ":/res/images/help_light.svg";
+		QString file = !App()->IsThemeDark()
+				       ? ":/res/images/help.svg"
+				       : ":/res/images/help_light.svg";
 		if (label) {
 			QString lStr = "<html>%1 <img src='%2' style=' \
 				vertical-align: bottom;  \

+ 1 - 1
UI/source-tree.cpp

@@ -1695,7 +1695,7 @@ void SourceTree::UpdateNoSourcesMessage()
 	GetDataFilePath("themes/Dark/no_sources.svg", darkPath);
 
 	QString file = !App()->IsThemeDark() ? ":res/images/no_sources.svg"
-				  : darkPath.c_str();
+					     : darkPath.c_str();
 	iconNoSources.load(file);
 
 	QTextOption opt(Qt::AlignHCenter);