diff options
author | akshay-c | 2019-06-27 10:23:57 +0530 |
---|---|---|
committer | akshay-c | 2019-06-27 10:23:57 +0530 |
commit | d173a9be97cab476f2dd1aa9a43fef06e215ee57 (patch) | |
tree | 266973b96547e796d70f4043618d97a7a3738629 /ldmicro/miscutil.cpp | |
parent | 3f7c4198a528cda5f027d26d103a8b228e82474b (diff) | |
download | LDmicroQt-d173a9be97cab476f2dd1aa9a43fef06e215ee57.tar.gz LDmicroQt-d173a9be97cab476f2dd1aa9a43fef06e215ee57.tar.bz2 LDmicroQt-d173a9be97cab476f2dd1aa9a43fef06e215ee57.zip |
Code Beautification
Diffstat (limited to 'ldmicro/miscutil.cpp')
-rw-r--r-- | ldmicro/miscutil.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/ldmicro/miscutil.cpp b/ldmicro/miscutil.cpp index 2a9b6f1..751fd8e 100644 --- a/ldmicro/miscutil.cpp +++ b/ldmicro/miscutil.cpp @@ -222,8 +222,10 @@ void NiceFont(HWID h) qtfont.setFamily(MyNiceFont->lpszFace); qtfont.setPixelSize(MyNiceFont->nHeight - 3); qtfont.setFixedPitch(TRUE); - qtfont.setStyle(MyNiceFont->fdwItalic ? QFont::StyleItalic : QFont::StyleNormal); - qtfont.setWeight(MyNiceFont->fnWeight == FW_BOLD ? QFont::Bold : QFont::Normal); + qtfont.setStyle( + MyNiceFont->fdwItalic ? QFont::StyleItalic : QFont::StyleNormal); + qtfont.setWeight( + MyNiceFont->fnWeight == FW_BOLD ? QFont::Bold : QFont::Normal); h->setFont(qtfont); // SendMessage(h, WM_SETFONT, (WPARAM)MyNiceFont, TRUE); @@ -239,8 +241,10 @@ void FixedFont(HWID h) qtfont.setFamily(MyFixedFont->lpszFace); qtfont.setPixelSize(MyFixedFont->nHeight - 3); qtfont.setFixedPitch(TRUE); - qtfont.setStyle(MyFixedFont->fdwItalic ? QFont::StyleItalic : QFont::StyleNormal); - qtfont.setWeight(MyFixedFont->fnWeight == FW_BOLD ? QFont::Bold : QFont::Normal); + qtfont.setStyle( + MyFixedFont->fdwItalic ? QFont::StyleItalic : QFont::StyleNormal); + qtfont.setWeight( + MyFixedFont->fnWeight == FW_BOLD ? QFont::Bold : QFont::Normal); h->setFont(qtfont); // SendMessage(h, WM_SETFONT, (WPARAM)MyFixedFont, TRUE); } |