chore: remove double spaces from logs

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
Octol1ttle 2026-01-29 19:15:27 +05:00
parent b69dbc2224
commit 584dc47da5
No known key found for this signature in database
GPG key ID: B77C34313AEE1FFF
64 changed files with 224 additions and 222 deletions

View file

@ -169,7 +169,7 @@ void IconList::directoryChanged(const QString& path)
QSet<QString> toAdd = newSet - currentSet;
for (const QString& removedPath : toRemove) {
qDebug() << "Removing icon " << removedPath;
qDebug() << "Removing icon" << removedPath;
QFileInfo removedFile(removedPath);
QString relativePath = m_dir.relativeFilePath(removedFile.absoluteFilePath());
QString key = QFileInfo(relativePath).completeBaseName();
@ -191,7 +191,7 @@ void IconList::directoryChanged(const QString& path)
}
for (const QString& addedPath : toAdd) {
qDebug() << "Adding icon " << addedPath;
qDebug() << "Adding icon" << addedPath;
QFileInfo addfile(addedPath);
QString relativePath = m_dir.relativeFilePath(addfile.absoluteFilePath());
@ -209,7 +209,7 @@ void IconList::directoryChanged(const QString& path)
void IconList::fileChanged(const QString& path)
{
qDebug() << "Checking icon " << path;
qDebug() << "Checking icon" << path;
QFileInfo checkfile(path);
if (!checkfile.exists())
return;
@ -246,9 +246,9 @@ void IconList::startWatching()
FS::ensureFolderPathExists(abs_path);
m_isWatching = addPathRecursively(abs_path);
if (m_isWatching) {
qDebug() << "Started watching " << abs_path;
qDebug() << "Started watching" << abs_path;
} else {
qDebug() << "Failed to start watching " << abs_path;
qDebug() << "Failed to start watching" << abs_path;
}
}