UI: Remove unused signal from basic main window
This commit is contained in:
@@ -1228,42 +1228,6 @@ void OBSBasic::SelectSceneItem(OBSScene scene, OBSSceneItem item, bool select)
|
||||
}
|
||||
}
|
||||
|
||||
void OBSBasic::MoveSceneItem(OBSSceneItem item, obs_order_movement movement)
|
||||
{
|
||||
OBSScene scene = obs_sceneitem_get_scene(item);
|
||||
if (scene != GetCurrentScene())
|
||||
return;
|
||||
|
||||
int curRow = ui->sources->currentRow();
|
||||
if (curRow == -1)
|
||||
return;
|
||||
|
||||
QListWidgetItem *listItem = ui->sources->takeItem(curRow);
|
||||
|
||||
switch (movement) {
|
||||
case OBS_ORDER_MOVE_UP:
|
||||
if (curRow > 0)
|
||||
curRow--;
|
||||
break;
|
||||
|
||||
case OBS_ORDER_MOVE_DOWN:
|
||||
if (curRow < ui->sources->count())
|
||||
curRow++;
|
||||
break;
|
||||
|
||||
case OBS_ORDER_MOVE_TOP:
|
||||
curRow = 0;
|
||||
break;
|
||||
|
||||
case OBS_ORDER_MOVE_BOTTOM:
|
||||
curRow = ui->sources->count();
|
||||
break;
|
||||
}
|
||||
|
||||
ui->sources->insertItem(curRow, listItem);
|
||||
ui->sources->setCurrentRow(curRow);
|
||||
}
|
||||
|
||||
void OBSBasic::GetAudioSourceFilters()
|
||||
{
|
||||
QAction *action = reinterpret_cast<QAction*>(sender());
|
||||
|
@@ -194,7 +194,6 @@ private slots:
|
||||
void RenameSources(QString newName, QString prevName);
|
||||
|
||||
void SelectSceneItem(OBSScene scene, OBSSceneItem item, bool select);
|
||||
void MoveSceneItem(OBSSceneItem item, obs_order_movement movement);
|
||||
|
||||
void ActivateAudioSource(OBSSource source);
|
||||
void DeactivateAudioSource(OBSSource source);
|
||||
|
Reference in New Issue
Block a user