Commit 6db07653 authored by Alexander Stippich's avatar Alexander Stippich
Browse files

small cleanup

parent d9ab4117
...@@ -106,7 +106,6 @@ KSaneCore::KSaneOpenStatus KSaneCorePrivate::loadDeviceOptions() ...@@ -106,7 +106,6 @@ KSaneCore::KSaneOpenStatus KSaneCorePrivate::loadDeviceOptions()
} }
numSaneOptions = *reinterpret_cast<SANE_Word *>(data.data()); numSaneOptions = *reinterpret_cast<SANE_Word *>(data.data());
// read the rest of the options
// read the rest of the options // read the rest of the options
KSaneBaseOption *option = nullptr; KSaneBaseOption *option = nullptr;
KSaneBaseOption *optionTopLeftX = nullptr; KSaneBaseOption *optionTopLeftX = nullptr;
...@@ -144,7 +143,6 @@ KSaneCore::KSaneOpenStatus KSaneCorePrivate::loadDeviceOptions() ...@@ -144,7 +143,6 @@ KSaneCore::KSaneOpenStatus KSaneCorePrivate::loadDeviceOptions()
break; break;
} }
if (option->name() == QStringLiteral(SANE_NAME_SCAN_TL_X)) { if (option->name() == QStringLiteral(SANE_NAME_SCAN_TL_X)) {
optionTopLeftX = option; optionTopLeftX = option;
} }
......
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