Skip to content

Commit

Permalink
fix: fix complie problem in low dtk version
Browse files Browse the repository at this point in the history
  fix compile problem in low dtk version

Log: fix compile problem in low dtk version
Bug: https://pms.uniontech.com/bug-view-280101.html
  • Loading branch information
starhcq committed Nov 7, 2024
1 parent c8cb6cb commit 0694237
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/deepin-draw/widgets/dzoommenucombobox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ void DZoomMenuComboBox::updateSizeMode()
nBtnHeight = BTN_HEIGHT;
}
#else
m_floatingSize = FLOATINGSIZE;
m_floatingSize = FLOATING_SIZE;
#endif

if (m_increaseBtn) {
Expand Down
2 changes: 1 addition & 1 deletion src/deepin-draw/widgets/toptoolbar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ void TopTilte::updateSizeMode()
else
nHeight = BTN_HEIGHT;
#else
nBtnSize = BTN_HEIGHT;
nHeight = BTN_HEIGHT;
#endif

if (m_editDrawBorad) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ void CExportImageDialog::updateSizeMode()
else
nHeight = LINE_EDIT_SIZE.height();
#else
nBtnSize = LINE_EDIT_SIZE.height();;
nHeight = LINE_EDIT_SIZE.height();;
#endif

if (m_fileNameEdit) {
Expand Down

0 comments on commit 0694237

Please sign in to comment.