merge fixes
This commit is contained in:
parent
b297339cbd
commit
e2b4965466
2 changed files with 6 additions and 7 deletions
|
@ -474,7 +474,7 @@ void CServerDlg::OnCentServAddrTypeActivated ( int iTypeIdx )
|
||||||
UpdateGUIDependencies();
|
UpdateGUIDependencies();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CServerDlg::OnServerStopped();
|
void CServerDlg::OnServerStopped()
|
||||||
{
|
{
|
||||||
UpdateSystemTrayIcon ( false );
|
UpdateSystemTrayIcon ( false );
|
||||||
UpdateRecorderStatus ( QString::null );
|
UpdateRecorderStatus ( QString::null );
|
||||||
|
@ -533,7 +533,6 @@ void CServerDlg::OnTimer()
|
||||||
ListViewMutex.unlock();
|
ListViewMutex.unlock();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void CServerDlg::UpdateGUIDependencies()
|
void CServerDlg::UpdateGUIDependencies()
|
||||||
{
|
{
|
||||||
// get the states which define the GUI dependencies from the server
|
// get the states which define the GUI dependencies from the server
|
||||||
|
@ -591,7 +590,7 @@ void CServerDlg::UpdateGUIDependencies()
|
||||||
|
|
||||||
lblRegSvrStatus->setText ( strStatus );
|
lblRegSvrStatus->setText ( strStatus );
|
||||||
|
|
||||||
edtCurrentSessionDir->setText( "" );
|
edtCurrentSessionDir->setText ( "" );
|
||||||
UpdateRecorderStatus ( QString::null );
|
UpdateRecorderStatus ( QString::null );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -654,8 +653,8 @@ void CServerDlg::ModifyAutoStartEntry ( const bool bDoAutoStart )
|
||||||
void CServerDlg::UpdateRecorderStatus ( QString sessionDir )
|
void CServerDlg::UpdateRecorderStatus ( QString sessionDir )
|
||||||
{
|
{
|
||||||
QString currentSessionDir = edtCurrentSessionDir->text();
|
QString currentSessionDir = edtCurrentSessionDir->text();
|
||||||
QString strRecorderStatus;
|
|
||||||
bool bIsRecording = false;
|
bool bIsRecording = false;
|
||||||
|
QString strRecorderStatus;
|
||||||
|
|
||||||
if ( pServer->GetRecordingEnabled() )
|
if ( pServer->GetRecordingEnabled() )
|
||||||
{
|
{
|
||||||
|
@ -677,7 +676,7 @@ void CServerDlg::UpdateRecorderStatus ( QString sessionDir )
|
||||||
|
|
||||||
edtCurrentSessionDir->setVisible ( pServer->GetRecordingEnabled() );
|
edtCurrentSessionDir->setVisible ( pServer->GetRecordingEnabled() );
|
||||||
edtCurrentSessionDir->setEnabled ( bIsRecording );
|
edtCurrentSessionDir->setEnabled ( bIsRecording );
|
||||||
edtCurrentSessionDir->setText( currentSessionDir );
|
edtCurrentSessionDir->setText ( currentSessionDir );
|
||||||
|
|
||||||
lblRecorderStatus->setText ( strRecorderStatus );
|
lblRecorderStatus->setText ( strRecorderStatus );
|
||||||
|
|
||||||
|
|
|
@ -103,7 +103,7 @@ public slots:
|
||||||
void keyPressEvent ( QKeyEvent *e ) // block escape key
|
void keyPressEvent ( QKeyEvent *e ) // block escape key
|
||||||
{ if ( e->key() != Qt::Key_Escape ) QDialog::keyPressEvent ( e ); }
|
{ if ( e->key() != Qt::Key_Escape ) QDialog::keyPressEvent ( e ); }
|
||||||
|
|
||||||
void OnNewRecordingClicked(); { pServer->RestartRecorder(); }
|
void OnNewRecordingClicked() { pServer->RestartRecorder(); }
|
||||||
void OnRecordingSessionStarted ( QString sessionDir )
|
void OnRecordingSessionStarted ( QString sessionDir )
|
||||||
{ UpdateRecorderStatus ( sessionDir ); }
|
{ UpdateRecorderStatus ( sessionDir ); }
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue