mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +00:00
Fix konsolepart lookup
The location changed for KF6
This commit is contained in:
parent
49f9a28f4a
commit
f60628cdfa
|
@ -140,7 +140,7 @@ void TerminalPanel::showEvent(QShowEvent *event)
|
|||
|
||||
if (!m_terminal) {
|
||||
m_clearTerminal = true;
|
||||
KPluginFactory *factory = KPluginFactory::loadFactory(KPluginMetaData(QStringLiteral("konsolepart"))).plugin;
|
||||
KPluginFactory *factory = KPluginFactory::loadFactory(KPluginMetaData(QStringLiteral("kf6/parts/konsolepart"))).plugin;
|
||||
m_konsolePart = factory ? (factory->create<KParts::ReadOnlyPart>(this)) : nullptr;
|
||||
if (m_konsolePart) {
|
||||
connect(m_konsolePart, &KParts::ReadOnlyPart::destroyed, this, &TerminalPanel::terminalExited);
|
||||
|
|
Loading…
Reference in a new issue