瀏覽代碼

CModListView::CModListView(): Set background color of QSplitter to window color for seamless appearance

Alexander Wilms 1 年之前
父節點
當前提交
f2a1b47229
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      launcher/modManager/cmodlistview_moc.cpp

+ 2 - 0
launcher/modManager/cmodlistview_moc.cpp

@@ -134,6 +134,8 @@ CModListView::CModListView(QWidget * parent)
 	ui->updateButton->setIcon(QIcon{":/icons/mod-update.png"});
 	ui->installButton->setIcon(QIcon{":/icons/mod-download.png"});
 
+	ui->splitter->setStyleSheet("QSplitter::handle {background: palette('window');}");
+
 	setupModModel();
 	setupFilterModel();
 	setupModsView();