kfreespace: correct KCM class comment

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-06-13 18:08:09 +03:00
parent c44c42d306
commit 84745c78d7
2 changed files with 3 additions and 2 deletions

View file

@ -196,10 +196,11 @@ void KCMFreeSpace::load()
const QLayoutItem* layoutitem = m_layout->itemAt(i); const QLayoutItem* layoutitem = m_layout->itemAt(i);
if (layoutitem == m_spacer) { if (layoutitem == m_spacer) {
delete m_layout->takeAt(i); delete m_layout->takeAt(i);
m_spacer = nullptr;
break; break;
} }
} }
m_spacer = nullptr; Q_ASSERT(m_spacer == nullptr);
KConfig kfreespaceconfig("kfreespacerc", KConfig::SimpleConfig); KConfig kfreespaceconfig("kfreespacerc", KConfig::SimpleConfig);
foreach (const Solid::Device soliddevice, Solid::Device::allDevices()) { foreach (const Solid::Device soliddevice, Solid::Device::allDevices()) {

View file

@ -28,7 +28,7 @@
class KFreeSpaceBox; class KFreeSpaceBox;
/** /**
* Control look of KDE greeter * Control KDE free space notifier
* *
* @author Ivailo Monev (xakepa10@gmail.com) * @author Ivailo Monev (xakepa10@gmail.com)
*/ */