PD: Avoid QString to std::string back and forth conversion
Fixes Qt5 build.
This commit is contained in:
committed by
Chris Hennes
parent
ab2f655245
commit
6d9201c828
@@ -82,9 +82,7 @@ const QString TaskSketchBasedParameters::onAddSelection(
|
||||
if (datum && datum->getLCS()) {
|
||||
selObj = datum->getLCS();
|
||||
subname = datum->getNameInDocument();
|
||||
|
||||
refStr = QString::fromUtf8(selObj->getNameInDocument()) + QStringLiteral(":")
|
||||
+ QString::fromUtf8(subname);
|
||||
refStr = QString::fromStdString((std::string(selObj->getNameInDocument()) + ":" + subname));
|
||||
}
|
||||
else {
|
||||
// Remove subname for planes and datum features
|
||||
|
||||
Reference in New Issue
Block a user