diff options
Diffstat (limited to 'quanta/plugins')
-rw-r--r-- | quanta/plugins/quantaplugin.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/quanta/plugins/quantaplugin.cpp b/quanta/plugins/quantaplugin.cpp index 730e41f2..628f38a7 100644 --- a/quanta/plugins/quantaplugin.cpp +++ b/quanta/plugins/quantaplugin.cpp @@ -73,7 +73,7 @@ void QuantaPlugin::setPluginName(const TQString &a_name) m_name = a_name; if (!m_action) { - m_action = new KToggleAction(i18n(a_name.utf8()), 0, this, TQT_SLOT(toggle()), quantaApp->actionCollection(), a_name); + m_action = new KToggleAction(i18n(a_name.utf8()), 0, this, TQT_SLOT(toggle()), quantaApp->actionCollection(), a_name.ascii()); } m_action->setText(a_name); } @@ -124,8 +124,8 @@ bool QuantaPlugin::load() m_targetWidget = 0L; return false; } - m_part->setName(m_name); // for better debug output - m_part->widget()->setName(m_name); //needed to be able to dock the same plugin twice in separate toolviews + m_part->setName(m_name.ascii()); // for better debug output + m_part->widget()->setName(m_name.ascii()); //needed to be able to dock the same plugin twice in separate toolviews m_part->widget()->setFocusPolicy(TQWidget::ClickFocus); quantaApp->slotNewPart(m_part, false); // register the part in the partmanager return true; |