mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 22:09:52 +08:00
fix compilation error (#1697)
This commit is contained in:
parent
41bb9c0676
commit
d8371a9b45
@ -137,11 +137,11 @@ QGroupBox *ExportDialog::setupTargetGroup(QWidget *p_parent)
|
|||||||
AdvancedSettings settings = AdvancedSettings::Max;
|
AdvancedSettings settings = AdvancedSettings::Max;
|
||||||
int format = m_targetFormatComboBox->currentData().toInt();
|
int format = m_targetFormatComboBox->currentData().toInt();
|
||||||
switch (format) {
|
switch (format) {
|
||||||
case ExportFormat::HTML:
|
case static_cast<int>(ExportFormat::HTML):
|
||||||
settings = AdvancedSettings::HTML;
|
settings = AdvancedSettings::HTML;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ExportFormat::PDF:
|
case static_cast<int>(ExportFormat::PDF):
|
||||||
settings = AdvancedSettings::PDF;
|
settings = AdvancedSettings::PDF;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user