mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
chore: remove double spaces from logs
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
parent
b69dbc2224
commit
584dc47da5
64 changed files with 224 additions and 222 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue