From 882497540dbf9ea59dfead2ac4cdd7e41aed8955 Mon Sep 17 00:00:00 2001 From: Paolo Cignoni cignoni Date: Mon, 21 Nov 2005 22:08:25 +0000 Subject: [PATCH] added a cast to a 8bit char from unicode using locale --- src/meshlab/mainwindow.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/meshlab/mainwindow.cpp b/src/meshlab/mainwindow.cpp index c320ae8b4..331e33b46 100644 --- a/src/meshlab/mainwindow.cpp +++ b/src/meshlab/mainwindow.cpp @@ -24,6 +24,9 @@ History $Log$ +Revision 1.18 2005/11/21 22:08:25 cignoni +added a cast to a 8bit char from unicode using locale + Revision 1.17 2005/11/20 19:33:09 glvertex Logging filters events (still working on...) @@ -381,7 +384,7 @@ void MainWindow::applyFilter() MeshFilterInterface *iFilter = qobject_cast(action->parent()); if (iFilter->applyFilter(action->text(), *(((GLArea *)(workspace->activeWindow()))->mm ), this)) - qobject_cast(workspace->activeWindow())->log.Log(0,"Applied filter %s",action->text().data()); + qobject_cast(workspace->activeWindow())->log.Log(0,"Applied filter %s",action->text().toLocal8Bit().constData());// .data()); }