Browse Source

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

This allows the popup to be appended directly as an item for other
popups.
jp9000 11 years ago
parent
commit
269a91f522
1 changed files with 1 additions and 1 deletions
  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;
 	bool foundValues = false;
 	size_t idx = 0;
 	size_t idx = 0;
 
 
-	QMenu *popup = new QMenu;
+	QMenu *popup = new QMenu(QTStr("Add"));
 	while (obs_enum_input_types(idx++, &type)) {
 	while (obs_enum_input_types(idx++, &type)) {
 		const char *name = obs_source_getdisplayname(
 		const char *name = obs_source_getdisplayname(
 				OBS_SOURCE_TYPE_INPUT, type);
 				OBS_SOURCE_TYPE_INPUT, type);