mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4683 clang-format on all files in ApplicationCode
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
|
||||
#include <QAction>
|
||||
|
||||
CAF_CMD_SOURCE_INIT(RicHoloLensTerminateSessionFeature, "RicHoloLensTerminateSessionFeature");
|
||||
CAF_CMD_SOURCE_INIT( RicHoloLensTerminateSessionFeature, "RicHoloLensTerminateSessionFeature" );
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
@@ -40,13 +40,13 @@ bool RicHoloLensTerminateSessionFeature::isCommandEnabled()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RicHoloLensTerminateSessionFeature::onActionTriggered(bool isChecked)
|
||||
void RicHoloLensTerminateSessionFeature::onActionTriggered( bool isChecked )
|
||||
{
|
||||
auto* cmdFeature = dynamic_cast<RicHoloLensAutoExportToSharingServerFeature*>(
|
||||
caf::CmdFeatureManager::instance()->getCommandFeature("RicHoloLensAutoExportToSharingServerFeature"));
|
||||
if (cmdFeature)
|
||||
caf::CmdFeatureManager::instance()->getCommandFeature( "RicHoloLensAutoExportToSharingServerFeature" ) );
|
||||
if ( cmdFeature )
|
||||
{
|
||||
cmdFeature->setActive(false);
|
||||
cmdFeature->setActive( false );
|
||||
}
|
||||
|
||||
RicHoloLensSessionManager::instance()->terminateSession();
|
||||
@@ -57,9 +57,9 @@ void RicHoloLensTerminateSessionFeature::onActionTriggered(bool isChecked)
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RicHoloLensTerminateSessionFeature::setupActionLook(QAction* actionToSetup)
|
||||
void RicHoloLensTerminateSessionFeature::setupActionLook( QAction* actionToSetup )
|
||||
{
|
||||
actionToSetup->setIcon(QIcon(":/HoloLensDisconnect24x24.png"));
|
||||
actionToSetup->setIcon( QIcon( ":/HoloLensDisconnect24x24.png" ) );
|
||||
|
||||
actionToSetup->setText("Disconnect from HoloLens server");
|
||||
actionToSetup->setText( "Disconnect from HoloLens server" );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user