diff options
-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); } |