浏览代码

UI: Fix stats widget status font size

tytan652 3 年之前
父节点
当前提交
0a12d6728c
共有 1 个文件被更改,包括 0 次插入7 次删除
  1. 0 7
      UI/window-basic-stats.cpp

+ 0 - 7
UI/window-basic-stats.cpp

@@ -247,13 +247,6 @@ void OBSBasicStats::AddOutputLabels(QString name)
 	ol.megabytesSent = new QLabel(this);
 	ol.megabytesSent = new QLabel(this);
 	ol.bitrate = new QLabel(this);
 	ol.bitrate = new QLabel(this);
 
 
-	int newPointSize = ol.status->font().pointSize();
-	newPointSize *= 13;
-	newPointSize /= 10;
-	QString qss =
-		QString("font-size: %1pt").arg(QString::number(newPointSize));
-	ol.status->setStyleSheet(qss);
-
 	int col = 0;
 	int col = 0;
 	int row = outputLabels.size() + 1;
 	int row = outputLabels.size() + 1;
 	outputLayout->addWidget(ol.name, row, col++);
 	outputLayout->addWidget(ol.name, row, col++);