mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-06-13 10:18:30 -04:00
Don't use "type" of source, use "id" of source
The naming here is a poor choice, a source type determines if a source is either a regular input, a filter, or a transition. The ID is the actual unique identifier of a source.
This commit is contained in:
@@ -29,7 +29,7 @@ class OBSBasicSourceSelect : public QDialog {
|
||||
|
||||
private:
|
||||
std::unique_ptr<Ui::OBSBasicSourceSelect> ui;
|
||||
const char *type;
|
||||
const char *id;
|
||||
|
||||
static bool EnumSources(void *data, obs_source_t source);
|
||||
|
||||
@@ -44,5 +44,5 @@ private slots:
|
||||
void SourceRemoved(OBSSource source);
|
||||
|
||||
public:
|
||||
OBSBasicSourceSelect(OBSBasic *parent, const char *type);
|
||||
OBSBasicSourceSelect(OBSBasic *parent, const char *id);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user