From: nds Date: Fri, 15 Apr 2016 12:47:39 +0000 (+0300) Subject: #1309 Management of icons: compillation on Linux X-Git-Tag: V_2.3.0~211 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7578a7f30f735d48925d993d1e16216939b1e7ed;p=modules%2Fshaper.git #1309 Management of icons: compillation on Linux --- diff --git a/src/ModuleBase/ModuleBase_Tools.cpp b/src/ModuleBase/ModuleBase_Tools.cpp index e444d4a35..10dd13c0e 100755 --- a/src/ModuleBase/ModuleBase_Tools.cpp +++ b/src/ModuleBase/ModuleBase_Tools.cpp @@ -544,7 +544,7 @@ void blockUpdateViewer(const bool theValue) Events_Loop::loop()->send(aMsg); } -QString ModuleBase_Tools::wrapTextByWords(const QString& theValue, QWidget* theWidget, +QString wrapTextByWords(const QString& theValue, QWidget* theWidget, int theMaxLineInPixels) { static QFontMetrics tfm(theWidget ? theWidget->font() : QApplication::font());