mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
solid: const-ify Solid::Backends::UDev::UDevDevice::udevDevice() method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
134fd23a6c
commit
d69e5328dd
2 changed files with 2 additions and 2 deletions
|
@ -695,7 +695,7 @@ QString UDevDevice::devicePath() const
|
||||||
return QString::fromLatin1(UDEV_UDI_PREFIX) + deviceName();
|
return QString::fromLatin1(UDEV_UDI_PREFIX) + deviceName();
|
||||||
}
|
}
|
||||||
|
|
||||||
UdevQt::Device UDevDevice::udevDevice()
|
UdevQt::Device UDevDevice::udevDevice() const
|
||||||
{
|
{
|
||||||
return m_device;
|
return m_device;
|
||||||
}
|
}
|
||||||
|
|
|
@ -57,7 +57,7 @@ public:
|
||||||
QString deviceName() const;
|
QString deviceName() const;
|
||||||
QString devicePath() const;
|
QString devicePath() const;
|
||||||
int deviceNumber() const;
|
int deviceNumber() const;
|
||||||
UdevQt::Device udevDevice();
|
UdevQt::Device udevDevice() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
friend class AcAdapter;
|
friend class AcAdapter;
|
||||||
|
|
Loading…
Add table
Reference in a new issue