diff options
author | Eike Ziller <eike.ziller@qt.io> | 2018-09-25 13:58:24 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2018-09-26 13:08:37 +0000 |
commit | 70e5cab569ec5cce7c1b9a89650e10bf7aa1dd32 (patch) | |
tree | d3862de7ecbe440f199ecb4d1eb6335088334024 /src/plugins/projectexplorer/projectexplorersettings.h | |
parent | 65ea6f8e8309f5fbf659e78f201e70fcc551ea59 (diff) | |
download | qt-creator-70e5cab569ec5cce7c1b9a89650e10bf7aa1dd32.tar.gz |
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>
Diffstat (limited to 'src/plugins/projectexplorer/projectexplorersettings.h')
-rw-r--r-- | src/plugins/projectexplorer/projectexplorersettings.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/projectexplorer/projectexplorersettings.h b/src/plugins/projectexplorer/projectexplorersettings.h index 43654d339f..37f35cea03 100644 --- a/src/plugins/projectexplorer/projectexplorersettings.h +++ b/src/plugins/projectexplorer/projectexplorersettings.h @@ -51,8 +51,8 @@ public: bool prompToStopRunControl = false; bool automaticallyCreateRunConfigurations = true; bool addLibraryPathsToRunEnv = true; - int maxAppOutputLines = Core::Constants::DEFAULT_MAX_LINE_COUNT; - int maxBuildOutputLines = Core::Constants::DEFAULT_MAX_LINE_COUNT; + int maxAppOutputChars = Core::Constants::DEFAULT_MAX_CHAR_COUNT; + int maxBuildOutputChars = Core::Constants::DEFAULT_MAX_CHAR_COUNT; StopBeforeBuild stopBeforeBuild = StopBeforeBuild::StopNone; // Add a UUid which is used to identify the development environment. @@ -77,8 +77,8 @@ inline bool operator==(const ProjectExplorerSettings &p1, const ProjectExplorerS && p1.prompToStopRunControl == p2.prompToStopRunControl && p1.automaticallyCreateRunConfigurations == p2.automaticallyCreateRunConfigurations && p1.addLibraryPathsToRunEnv == p2.addLibraryPathsToRunEnv - && p1.maxAppOutputLines == p2.maxAppOutputLines - && p1.maxBuildOutputLines == p2.maxBuildOutputLines + && p1.maxAppOutputChars == p2.maxAppOutputChars + && p1.maxBuildOutputChars == p2.maxBuildOutputChars && p1.environmentId == p2.environmentId && p1.stopBeforeBuild == p2.stopBeforeBuild; } |