summaryrefslogtreecommitdiff
path: root/src/plugins/clangcodemodel/clanghoverhandler.cpp
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@qt.io>2018-02-08 20:51:43 +0100
committerRobert Loehning <robert.loehning@qt.io>2018-02-09 16:36:54 +0000
commit7282e055546c93390881627f9cbb149559df735f (patch)
tree9207161855d93e5c9e5f589570bd75ab99ea7f74 /src/plugins/clangcodemodel/clanghoverhandler.cpp
parent8c7567c447f0356c12b2c28c14ac71deaa6f4274 (diff)
downloadqt-creator-7282e055546c93390881627f9cbb149559df735f.tar.gz
Improve translated strings
Change-Id: I7a45c6f8dcbb0e1b3c17a60823664fe1943c5654 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Diffstat (limited to 'src/plugins/clangcodemodel/clanghoverhandler.cpp')
-rw-r--r--src/plugins/clangcodemodel/clanghoverhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/clangcodemodel/clanghoverhandler.cpp b/src/plugins/clangcodemodel/clanghoverhandler.cpp
index 1c38756261..55a8c8ab9d 100644
--- a/src/plugins/clangcodemodel/clanghoverhandler.cpp
+++ b/src/plugins/clangcodemodel/clanghoverhandler.cpp
@@ -196,7 +196,7 @@ void ClangHoverHandler::processToolTipInfo(const CppTools::ToolTipInfo &info)
}
if (!info.sizeInBytes.isEmpty())
- text.append(tr("\n\n%1 bytes").arg(info.sizeInBytes));
+ text.append("\n\n" + tr("%n bytes", 0, info.sizeInBytes));
setToolTip(text);
m_reportPriority(priority());