quadpip-setup: formatting code using astyle

Origin commit data
------------------
Branch: ni/coolstream
Commit: d5092e9874
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-10-17 (Sun, 17 Oct 2021)

Origin message was:
------------------
- quadpip-setup: formatting code using astyle

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2021-10-17 21:02:31 +02:00
parent a930348aba
commit eccec1a092
2 changed files with 64 additions and 61 deletions

View File

@@ -103,9 +103,12 @@ int CQuadPiPSetup::showQuadPiPSetup()
// quadpip window channel settings // quadpip window channel settings
CQuadPiPSetupSelectChannelWidget select; CQuadPiPSetupSelectChannelWidget select;
quadpipsetup->addItem(new CMenuForwarder(LOCALE_QUADPIP_1, true, g_settings.quadpip_channel_window[0], &select, "window_1", CRCInput::RC_1)); quadpipsetup->addItem(new CMenuForwarder(LOCALE_QUADPIP_1, true, g_settings.quadpip_channel_window[0], &select, "window_1", CRCInput::RC_1));
if (pip_devs >= 2) quadpipsetup->addItem(new CMenuForwarder(LOCALE_QUADPIP_2, true, g_settings.quadpip_channel_window[1], &select, "window_2", CRCInput::RC_2)); if (pip_devs >= 2)
if (pip_devs >= 3) quadpipsetup->addItem(new CMenuForwarder(LOCALE_QUADPIP_3, true, g_settings.quadpip_channel_window[2], &select, "window_3", CRCInput::RC_3)); quadpipsetup->addItem(new CMenuForwarder(LOCALE_QUADPIP_2, true, g_settings.quadpip_channel_window[1], &select, "window_2", CRCInput::RC_2));
if (pip_devs >= 4) quadpipsetup->addItem(new CMenuForwarder(LOCALE_QUADPIP_4, true, g_settings.quadpip_channel_window[3], &select, "window_4", CRCInput::RC_4)); if (pip_devs >= 3)
quadpipsetup->addItem(new CMenuForwarder(LOCALE_QUADPIP_3, true, g_settings.quadpip_channel_window[2], &select, "window_3", CRCInput::RC_3));
if (pip_devs >= 4)
quadpipsetup->addItem(new CMenuForwarder(LOCALE_QUADPIP_4, true, g_settings.quadpip_channel_window[3], &select, "window_4", CRCInput::RC_4));
// reset all channel settings // reset all channel settings
quadpipsetup->addItem(GenericMenuSeparatorLine); quadpipsetup->addItem(GenericMenuSeparatorLine);