Ver Fonte

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

This allows the popup to be appended directly as an item for other
popups.
jp9000 há 11 anos atrás
pai
commit
269a91f522
1 ficheiros alterados com 1 adições e 1 exclusões
  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);