Core: Use restrictions on character count instead of line counts

Assume lines with an average of 100 characters for the transition
and use the character limit already in two cases.

Change-Id: I43316d51d7d5017aa413d6c910d3784a14237e9f
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Eike Ziller
2018-09-25 13:58:24 +02:00
committed by hjk
parent 65ea6f8e83
commit 70e5cab569
9 changed files with 45 additions and 42 deletions

View File

@@ -213,7 +213,7 @@ const char DEFAULT_BUILD_DIRECTORY[] = "../%{JS: Util.asciify(\"build-%{CurrentP
const int MODEBAR_ICON_SIZE = 34;
const int MODEBAR_ICONSONLY_BUTTON_SIZE = MODEBAR_ICON_SIZE + 4;
const int DEFAULT_MAX_LINE_COUNT = 100000;
const int DEFAULT_MAX_CHAR_COUNT = 10000000;
} // namespace Constants
} // namespace Core