diff --git a/bookreader.pro b/bookreader.pro index 6fbaf09..ecc9653 100755 --- a/bookreader.pro +++ b/bookreader.pro @@ -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 diff --git a/dialog/dialogconfig.h b/dialog/dialogconfig.h index 23e8e8a..32a0678 100755 --- a/dialog/dialogconfig.h +++ b/dialog/dialogconfig.h @@ -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