remove code causing false statement
@stikonas There is now no stuck problem, but this arises
"Connection \":1.154\" is not allowed to own the service \"org.kde.kpmcore.helperinterface\" due to security policies in the configuration file"
Unable to obtain Administrative privileges, the action can not be executed!!
Th last statement is produced by code at line 390 in externalcommand, which implies code is fine, just some problem with .conf files.
Also, after the scanning process finishes, there are no devices listed at the top.
QDBusError("org.freedesktop.DBus.Error.UnknownObject", "No such object path '/Helper'")