Commit 70189665 authored by Jan Möbius's avatar Jan Möbius
Browse files

Default Classical renderer plugin has been renamed

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16711 383ad7c9-94d9-4d36-a494-682f7c89f535
parent f3e745dd
...@@ -543,7 +543,7 @@ Core::init() { ...@@ -543,7 +543,7 @@ Core::init() {
coreWidget_->setViewMode("All"); coreWidget_->setViewMode("All");
// Set the renderer to the one stored in the settings or to default // Set the renderer to the one stored in the settings or to default
for ( uint i = 0 ; i < OpenFlipper::Options::examinerWidgets(); ++i ) { for ( unsigned int i = 0 ; i < OpenFlipper::Options::examinerWidgets(); ++i ) {
connect( coreWidget_->examiner_widgets_[i], SIGNAL(signalMouseEvent(QMouseEvent*)), connect( coreWidget_->examiner_widgets_[i], SIGNAL(signalMouseEvent(QMouseEvent*)),
this , SLOT(slotMouseEvent(QMouseEvent*))); this , SLOT(slotMouseEvent(QMouseEvent*)));
connect( coreWidget_->examiner_widgets_[i], SIGNAL(signalMouseEventIdentify(QMouseEvent*)), connect( coreWidget_->examiner_widgets_[i], SIGNAL(signalMouseEventIdentify(QMouseEvent*)),
...@@ -564,7 +564,7 @@ Core::init() { ...@@ -564,7 +564,7 @@ Core::init() {
// ==================================================== // ====================================================
QString defaultRendererKey = "Viewer" + QString::number(i)+"/DefaultRenderer"; QString defaultRendererKey = "Viewer" + QString::number(i)+"/DefaultRenderer";
QString defaultRendererName = OpenFlipperSettings().value(defaultRendererKey,"Default Classical Renderer").toString(); QString defaultRendererName = OpenFlipperSettings().value(defaultRendererKey,"Default Classical Renderer Plugin").toString();
// Check if the renderer is there // Check if the renderer is there
int defaultRendererId = renderManager().getRendererId(defaultRendererName); int defaultRendererId = renderManager().getRendererId(defaultRendererName);
...@@ -573,7 +573,7 @@ Core::init() { ...@@ -573,7 +573,7 @@ Core::init() {
emit log(LOGERR,tr("Stored default renderer \"") + defaultRendererName + tr("\" is not available, trying Classical!")); emit log(LOGERR,tr("Stored default renderer \"") + defaultRendererName + tr("\" is not available, trying Classical!"));
// Check if the renderer is there // Check if the renderer is there
defaultRendererId = renderManager().getRendererId("Default Classical Renderer"); defaultRendererId = renderManager().getRendererId("Default Classical Renderer Plugin");
// Classical available? // Classical available?
if ( defaultRendererId != -1 ) { if ( defaultRendererId != -1 ) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment