Commit d9ab4117 authored by Alexander Stippich's avatar Alexander Stippich
Browse files

add back clearDeviceOptions for KSaneWidget

got lost during the KSaneCore/KSaneWidget split
parent caeace8b
......@@ -367,7 +367,7 @@ bool KSaneWidget::closeDevice()
if (!result) {
return false;
}
d->clearDeviceOptions();
// disable the interface until a new device is opened.
d->m_optsTabWidget->setDisabled(true);
d->m_previewViewer->setDisabled(true);
......
......@@ -116,7 +116,7 @@ void KSaneWidgetPrivate::clearDeviceOptions()
m_handledOptions.clear();
// remove the remaining layouts/widgets and read thread
// remove the remaining layouts/widgets
delete m_basicOptsTab;
m_basicOptsTab = nullptr;
......
Supports Markdown
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