Proofread internal information after retranslating UI #4836
This commit is contained in:
parent
c7e723030b
commit
48d24d72e6
|
@ -491,6 +491,15 @@ void MainWindow::restartSynergy()
|
||||||
startSynergy();
|
startSynergy();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void MainWindow::proofreadInfo()
|
||||||
|
{
|
||||||
|
setEdition(m_AppConfig.edition());
|
||||||
|
|
||||||
|
int oldState = m_SynergyState;
|
||||||
|
m_SynergyState = synergyDisconnected;
|
||||||
|
setSynergyState((qSynergyState)oldState);
|
||||||
|
}
|
||||||
|
|
||||||
void MainWindow::clearLog()
|
void MainWindow::clearLog()
|
||||||
{
|
{
|
||||||
m_pLogOutput->clear();
|
m_pLogOutput->clear();
|
||||||
|
@ -958,7 +967,7 @@ void MainWindow::changeEvent(QEvent* event)
|
||||||
retranslateUi(this);
|
retranslateUi(this);
|
||||||
retranslateMenuBar();
|
retranslateMenuBar();
|
||||||
|
|
||||||
setEdition(m_AppConfig.edition());
|
proofreadInfo();
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -178,6 +178,7 @@ class MainWindow : public QMainWindow, public Ui::MainWindowBase
|
||||||
bool autoHide();
|
bool autoHide();
|
||||||
QString getTimeStamp();
|
QString getTimeStamp();
|
||||||
void restartSynergy();
|
void restartSynergy();
|
||||||
|
void proofreadInfo();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QSettings& m_Settings;
|
QSettings& m_Settings;
|
||||||
|
|
Loading…
Reference in New Issue