mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Update: Compilation fix for Qt 6.6, update of RELEASES.txt
This commit is contained in:
@ -601,7 +601,7 @@ void PDFViewerSettingsDialog::saveData()
|
||||
}
|
||||
else if (sender == ui->foregroundColorEdit)
|
||||
{
|
||||
m_cmsSettings.foregroundColor.setNamedColor(ui->foregroundColorEdit->text());
|
||||
m_cmsSettings.foregroundColor.fromString(ui->foregroundColorEdit->text());
|
||||
if (!m_cmsSettings.foregroundColor.isValid())
|
||||
{
|
||||
pdf::PDFColorConvertor colorConvertor;
|
||||
@ -610,7 +610,7 @@ void PDFViewerSettingsDialog::saveData()
|
||||
}
|
||||
else if (sender == ui->backgroundColorEdit)
|
||||
{
|
||||
m_cmsSettings.backgroundColor.setNamedColor(ui->backgroundColorEdit->text());
|
||||
m_cmsSettings.backgroundColor.fromString(ui->backgroundColorEdit->text());
|
||||
if (!m_cmsSettings.backgroundColor.isValid())
|
||||
{
|
||||
pdf::PDFColorConvertor colorConvertor;
|
||||
@ -856,7 +856,7 @@ void PDFViewerSettingsDialog::setSpeechEngine(const QString& engine, const QStri
|
||||
ui->speechLocaleComboBox->clear();
|
||||
for (const QLocale& currentLocale : locales)
|
||||
{
|
||||
ui->speechLocaleComboBox->addItem(QString("%1 (%2)").arg(currentLocale.nativeLanguageName(), currentLocale.nativeCountryName()), currentLocale.name());
|
||||
ui->speechLocaleComboBox->addItem(QString("%1 (%2)").arg(currentLocale.nativeLanguageName(), currentLocale.nativeTerritoryName()), currentLocale.name());
|
||||
}
|
||||
ui->speechLocaleComboBox->setUpdatesEnabled(true);
|
||||
}
|
||||
|
Reference in New Issue
Block a user