Skip to content

Commit

Permalink
修改win下的默认行距
Browse files Browse the repository at this point in the history
  • Loading branch information
popkc committed Jul 13, 2024
1 parent 721cc11 commit 6e91f80
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bookreader.pro
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ win32: RC_ICONS += icon.ico

TARGET = bookreader
TEMPLATE = app
VERSION=1.3.0
VERSION=1.3.1
DEFINES += APP_VERSION=\\\"$$VERSION\\\"

# The following define makes your compiler emit warnings if you use
Expand Down
6 changes: 5 additions & 1 deletion dialog/dialogconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ class DialogConfig;
#define DEFAULT_FONTITALIC false
#define DEFAULT_FONTSTYLE ""

#define DEFAULT_LINESPACE 0
#ifdef Q_OS_WINDOWS
# define DEFAULT_LINESPACE 1
#else
# define DEFAULT_LINESPACE 0
#endif
#define DEFAULT_PADDING 1
#define DEFAULT_SMARTRETURN false

Expand Down

0 comments on commit 6e91f80

Please sign in to comment.