update translations
This commit is contained in:
parent
5878f59958
commit
1549fe1aed
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
@ -569,7 +569,7 @@ void MainWindow::applyUISettings()
|
|||
ui->actionFiles->setChecked(settings.showFiles());
|
||||
showHideInfosTab(ui->tabFiles,settings.showFiles());
|
||||
ui->actionProblem_Set->setChecked(settings.showProblemSet());
|
||||
showHideInfosTab(ui->tabProblem,settings.showProblem());
|
||||
showHideInfosTab(ui->tabProblemSet,settings.showProblemSet());
|
||||
|
||||
ui->actionIssues->setChecked(settings.showIssues());
|
||||
showHideMessagesTab(ui->tabIssues,settings.showIssues());
|
||||
|
@ -5588,7 +5588,7 @@ void MainWindow::on_actionProblem_Set_triggered()
|
|||
{
|
||||
bool state = ui->actionProblem_Set->isChecked();
|
||||
ui->actionProblem_Set->setChecked(state);
|
||||
showHideInfosTab(ui->tabProblem,state);
|
||||
showHideInfosTab(ui->tabProblemSet,state);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -17,6 +17,18 @@ EnvironmentPerformanceWidget::~EnvironmentPerformanceWidget()
|
|||
void EnvironmentPerformanceWidget::doLoad()
|
||||
{
|
||||
ui->chkClearWhenEditorHidden->setChecked(pSettings->codeCompletion().clearWhenEditorHidden());
|
||||
#ifdef Q_OS_WIN
|
||||
MEMORYSTATUSEX statex;
|
||||
|
||||
statex.dwLength = sizeof (statex);
|
||||
|
||||
GlobalMemoryStatusEx (&statex);
|
||||
if (statex.ullAvailPhys < (long long int)1024*1024*1024) {
|
||||
ui->chkClearWhenEditorHidden->setEnabled(false);
|
||||
ui->chkClearWhenEditorHidden->setChecked(true);
|
||||
pSettings->codeCompletion().setClearWhenEditorHidden(true);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void EnvironmentPerformanceWidget::doSave()
|
||||
|
|
Loading…
Reference in New Issue