Further review comments
This commit is contained in:
parent
7977413bb6
commit
62c4fbfb77
3 changed files with 11 additions and 15 deletions
|
@ -8,6 +8,8 @@
|
|||
|
||||
- faster update of musicians list in the server list table
|
||||
|
||||
- display recorder state and latest recording directory,
|
||||
allow a new recording to be requested, by pljones (#228)
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -474,6 +474,12 @@ void CServerDlg::OnCentServAddrTypeActivated ( int iTypeIdx )
|
|||
UpdateGUIDependencies();
|
||||
}
|
||||
|
||||
void CServerDlg::OnServerStopped();
|
||||
{
|
||||
UpdateSystemTrayIcon ( false );
|
||||
UpdateRecorderStatus ( QString::null );
|
||||
}
|
||||
|
||||
void CServerDlg::OnSysTrayActivated ( QSystemTrayIcon::ActivationReason ActReason )
|
||||
{
|
||||
// on double click on the icon, show window in fore ground
|
||||
|
|
|
@ -92,14 +92,8 @@ public slots:
|
|||
void OnLocationCountryActivated ( int iCntryListItem );
|
||||
void OnCentServAddrTypeActivated ( int iTypeIdx );
|
||||
void OnTimer();
|
||||
|
||||
void OnServerStarted() { UpdateSystemTrayIcon ( true ); }
|
||||
void OnServerStopped()
|
||||
{
|
||||
UpdateSystemTrayIcon ( false );
|
||||
UpdateRecorderStatus ( QString::null );
|
||||
}
|
||||
|
||||
void OnServerStopped();
|
||||
void OnSvrRegStatusChanged() { UpdateGUIDependencies(); }
|
||||
void OnSysTrayMenuOpen() { ShowWindowInForeground(); }
|
||||
void OnSysTrayMenuHide() { hide(); }
|
||||
|
@ -109,13 +103,7 @@ public slots:
|
|||
void keyPressEvent ( QKeyEvent *e ) // block escape key
|
||||
{ if ( e->key() != Qt::Key_Escape ) QDialog::keyPressEvent ( e ); }
|
||||
|
||||
void OnNewRecordingClicked();
|
||||
{
|
||||
pServer->RestartRecorder();
|
||||
}
|
||||
|
||||
void OnNewRecordingClicked(); { pServer->RestartRecorder(); }
|
||||
void OnRecordingSessionStarted ( QString sessionDir )
|
||||
{
|
||||
UpdateRecorderStatus ( sessionDir );
|
||||
}
|
||||
{ UpdateRecorderStatus ( sessionDir ); }
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue