Fix minor issues found by EBN

This commit is contained in:
Yuri Chornoivan 2019-11-22 15:39:14 +02:00
parent 2980b21b8d
commit 1a7b673792
3 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@
#include <QString> #include <QString>
/** Creates a new SmartParser object /** Creates a new SmartParser object
@param device_path device path that indicates the device that SMART must analyse @param device_path device path that indicates the device that SMART must analyze
*/ */
SmartParser::SmartParser(const QString &device_path) : SmartParser::SmartParser(const QString &device_path) :
m_DevicePath(device_path), m_DevicePath(device_path),

View File

@ -41,7 +41,7 @@ public:
public: public:
const QString &devicePath() const const QString &devicePath() const
{ {
return m_DevicePath; /**< @return the device path that SMART must analyse */ return m_DevicePath; /**< @return the device path that SMART must analyze */
} }
SmartDiskInformation *diskInformation() const SmartDiskInformation *diskInformation() const

View File

@ -57,4 +57,4 @@ add_test(NAME testexternalcommand COMMAND testexternalcommand ${BACKEND})
# Test Device # Test Device
kpm_test(testdevice testdevice.cpp) kpm_test(testdevice testdevice.cpp)
add_test(NAME testdevice COMMAND testdevice ${BACKEND}) add_test(NAME testdevice COMMAND testdevice ${BACKEND})