Reformat to adhere to coding standards
This commit is contained in:
@@ -351,7 +351,8 @@ void InputsPanel::expoOpen(QListWidgetItem *item)
|
|||||||
if (!item)
|
if (!item)
|
||||||
item = ExposlistWidget->currentItem();
|
item = ExposlistWidget->currentItem();
|
||||||
|
|
||||||
if (item == nullptr) return;
|
if (item == nullptr)
|
||||||
|
return;
|
||||||
|
|
||||||
int idx = item->data(Qt::UserRole).toByteArray().at(0);
|
int idx = item->data(Qt::UserRole).toByteArray().at(0);
|
||||||
if (idx < 0) {
|
if (idx < 0) {
|
||||||
@@ -371,7 +372,8 @@ void InputsPanel::expoOpen(QListWidgetItem *item)
|
|||||||
void InputsPanel::expoAdd()
|
void InputsPanel::expoAdd()
|
||||||
{
|
{
|
||||||
QListWidgetItem *item = ExposlistWidget->currentItem();
|
QListWidgetItem *item = ExposlistWidget->currentItem();
|
||||||
if (item == nullptr) return;
|
if (item == nullptr)
|
||||||
|
return;
|
||||||
|
|
||||||
int index = item->data(Qt::UserRole).toByteArray().at(0);
|
int index = item->data(Qt::UserRole).toByteArray().at(0);
|
||||||
|
|
||||||
|
|||||||
@@ -355,7 +355,8 @@ void MixesPanel::mixersDuplicate()
|
|||||||
void MixesPanel::mixerOpen()
|
void MixesPanel::mixerOpen()
|
||||||
{
|
{
|
||||||
QListWidgetItem *item = mixersListWidget->currentItem();
|
QListWidgetItem *item = mixersListWidget->currentItem();
|
||||||
if (item == nullptr) return;
|
if (item == nullptr)
|
||||||
|
return;
|
||||||
|
|
||||||
int idx = item->data(Qt::UserRole).toByteArray().at(0);
|
int idx = item->data(Qt::UserRole).toByteArray().at(0);
|
||||||
if(idx < 0) {
|
if(idx < 0) {
|
||||||
@@ -375,7 +376,8 @@ void MixesPanel::mixerOpen()
|
|||||||
void MixesPanel::mixerHighlight()
|
void MixesPanel::mixerHighlight()
|
||||||
{
|
{
|
||||||
QListWidgetItem *item = mixersListWidget->currentItem();
|
QListWidgetItem *item = mixersListWidget->currentItem();
|
||||||
if (item == nullptr) return;
|
if (item == nullptr)
|
||||||
|
return;
|
||||||
|
|
||||||
int idx = item->data(Qt::UserRole).toByteArray().at(0);
|
int idx = item->data(Qt::UserRole).toByteArray().at(0);
|
||||||
int dest;
|
int dest;
|
||||||
|
|||||||
Reference in New Issue
Block a user