Fix SFTP plugin, m_mounter was not initialized

BUG: 474552
This commit is contained in:
Albert Vaca Cintora 2023-09-16 01:10:24 +02:00
parent cdcf44efa8
commit 66cf7093fb

View file

@ -25,6 +25,7 @@ K_PLUGIN_CLASS_WITH_JSON(SftpPlugin, "kdeconnect_sftp.json")
SftpPlugin::SftpPlugin(QObject *parent, const QVariantList &args)
: KdeConnectPlugin(parent, args)
, deviceId(device()->id())
, m_mounter(nullptr)
{
addToDolphin();
qCDebug(KDECONNECT_PLUGIN_SFTP) << "Created device:" << device()->name();