Salome HOME
projects
/
modules
/
shaper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f141924
)
Support wide string for color scale title
author
vsv
<vsv@opencascade.com>
Thu, 18 Jun 2020 09:27:51 +0000
(12:27 +0300)
committer
vsv
<vsv@opencascade.com>
Fri, 26 Jun 2020 13:33:59 +0000
(16:33 +0300)
src/XGUI/XGUI_ViewerProxy.cpp
patch
|
blob
|
history
diff --git
a/src/XGUI/XGUI_ViewerProxy.cpp
b/src/XGUI/XGUI_ViewerProxy.cpp
index aac07b5975c7939a15079d688df2e4610499a50c..c0fb508ebe0770e7376b2208fd56ed3165f41beb 100644
(file)
--- a/
src/XGUI/XGUI_ViewerProxy.cpp
+++ b/
src/XGUI/XGUI_ViewerProxy.cpp
@@
-683,7
+683,7
@@
void XGUI_ViewerProxy::setColorScaleTitle(const QString& theText)
myWorkshop->salomeConnector()->viewer()->setColorScaleTitle(theText);
#else
Handle(AIS_ColorScale) aColorScale = myWorkshop->mainWindow()->viewer()->colorScale();
- aColorScale->SetTitle(theText.toStdString().c_str());
+ aColorScale->SetTitle(theText.toStd
W
String().c_str());
#endif
}