diff options
author | Niels Weber <niels.weber@digia.com> | 2013-08-20 14:14:09 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@digia.com> | 2013-08-20 14:19:24 +0200 |
commit | ec9b47395355d4b44c9d92ef1733fd206bb208bb (patch) | |
tree | fe3a370d960e2d3022b02ecf575ef8d1d476b19d | |
parent | ef45e495a3fe3077017a9dba74208363d90202e8 (diff) |
Don't break translations for word wrapping.
Change-Id: I93446f7786145f3e82d3e03d3344b19ac7425b0b
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
-rw-r--r-- | src/sdk/installerbasecommons.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sdk/installerbasecommons.cpp b/src/sdk/installerbasecommons.cpp index f544dd296..19b76ce7c 100644 --- a/src/sdk/installerbasecommons.cpp +++ b/src/sdk/installerbasecommons.cpp @@ -372,6 +372,7 @@ TargetDirectoryPageImpl::TargetDirectoryPageImpl(PackageManagerCore *core) m_warningLabel = new QLabel(this); m_warningLabel->setPalette(palette); + m_warningLabel->setWordWrap(true); insertWidget(m_warningLabel, QLatin1String("MessageLabel"), 2); } @@ -412,7 +413,7 @@ QString TargetDirectoryPageImpl::targetDirWarning() const // check if there are not allowed characters in the target path if (dir.contains(QRegExp(ambiguousChars))) { - return TargetDirectoryPageImpl::tr("The installation path must not contain %1, \n" + return TargetDirectoryPageImpl::tr("The installation path must not contain %1, " "please specify a valid folder.").arg(ambiguousChars); } |