Quellcode durchsuchen

Give the 'add source' popup the 'Add' title

This allows the popup to be appended directly as an item for other
popups.
jp9000 vor 11 Jahren
Ursprung
Commit
269a91f522
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      obs/window-basic-main.cpp

+ 1 - 1
obs/window-basic-main.cpp

@@ -1290,7 +1290,7 @@ QMenu *OBSBasic::CreateAddSourcePopupMenu()
 	bool foundValues = false;
 	size_t idx = 0;
 
-	QMenu *popup = new QMenu;
+	QMenu *popup = new QMenu(QTStr("Add"));
 	while (obs_enum_input_types(idx++, &type)) {
 		const char *name = obs_source_getdisplayname(
 				OBS_SOURCE_TYPE_INPUT, type);