Skip to content

Commit

Permalink
Style changes 2
Browse files Browse the repository at this point in the history
  • Loading branch information
dcorson-ticino-com authored and pljones committed Apr 1, 2021
1 parent 712d408 commit d8f9299
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions src/clientdlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1002,50 +1002,50 @@ void CClientDlg::ShowConnectionSetupDialog()
{
// show connect dialog
bConnectDlgWasShown = true;
ConnectDlg.show();
ConnectDlg.setWindowTitle( MakeClientNameTitle( tr ( "Connect" ) , pClient->strClientName ) );
ConnectDlg.show ();
ConnectDlg.setWindowTitle ( MakeClientNameTitle ( tr ( "Connect" ) , pClient->strClientName ) );

// make sure dialog is upfront and has focus
ConnectDlg.raise();
ConnectDlg.activateWindow();
ConnectDlg.raise ();
ConnectDlg.activateWindow ();
}

void CClientDlg::ShowMusicianProfileDialog()
{
// show musician profile dialog
MusicianProfileDlg.show();
MusicianProfileDlg.setWindowTitle( MakeClientNameTitle( tr ( "Musician Profile" ) , pClient->strClientName ) );
MusicianProfileDlg.show ();
MusicianProfileDlg.setWindowTitle ( MakeClientNameTitle ( tr ( "Musician Profile" ) , pClient->strClientName ) );

// make sure dialog is upfront and has focus
MusicianProfileDlg.raise();
MusicianProfileDlg.activateWindow();
MusicianProfileDlg.raise ();
MusicianProfileDlg.activateWindow ();
}

void CClientDlg::ShowGeneralSettings()
{
// open general settings dialog
ClientSettingsDlg.show();
ClientSettingsDlg.setWindowTitle( MakeClientNameTitle( tr ( "Settings" ) , pClient->strClientName ) );
ClientSettingsDlg.show ();
ClientSettingsDlg.setWindowTitle ( MakeClientNameTitle ( tr ( "Settings" ) , pClient->strClientName ) );

// make sure dialog is upfront and has focus
ClientSettingsDlg.raise();
ClientSettingsDlg.activateWindow();
ClientSettingsDlg.raise ();
ClientSettingsDlg.activateWindow ();
}

void CClientDlg::ShowChatWindow ( const bool bForceRaise )
{
ChatDlg.show();
ChatDlg.setWindowTitle( MakeClientNameTitle( tr ( "Chat" ) , pClient->strClientName ) );
ChatDlg.show ();
ChatDlg.setWindowTitle ( MakeClientNameTitle ( tr ( "Chat" ) , pClient->strClientName ) );

if ( bForceRaise )
{
// make sure dialog is upfront and has focus
ChatDlg.showNormal();
ChatDlg.raise();
ChatDlg.activateWindow();
ChatDlg.showNormal ();
ChatDlg.raise ();
ChatDlg.activateWindow ();
}

UpdateDisplay();
UpdateDisplay ();
}

void CClientDlg::ShowAnalyzerConsole()
Expand Down

0 comments on commit d8f9299

Please sign in to comment.