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>
(cherry picked from commit 584dc47da5)
This commit is contained in:
parent
3e03d47fbf
commit
8cfeb30c56
64 changed files with 224 additions and 222 deletions
|
|
@ -432,7 +432,7 @@ void create_link::make_link_list(const QString& offset)
|
|||
link_file(src, "");
|
||||
} else {
|
||||
if (m_debug)
|
||||
qDebug() << "linking recursively:" << src << "to" << dst << ", max_depth:" << m_max_depth;
|
||||
qDebug().nospace() << "linking recursively: " << src << " to " << dst << ", max_depth: " << m_max_depth;
|
||||
QDir src_dir(src);
|
||||
QDirIterator source_it(src, QDir::Filter::Files | QDir::Filter::Hidden, QDirIterator::Subdirectories);
|
||||
|
||||
|
|
@ -1100,17 +1100,17 @@ QString createShortcut(QString destination, QString target, QStringList args, QS
|
|||
hres = ppf->Save(wsz, TRUE);
|
||||
if (FAILED(hres)) {
|
||||
qWarning() << "IPresistFile->Save() failed";
|
||||
qWarning() << "hres = " << hres;
|
||||
qWarning() << "hres =" << hres;
|
||||
}
|
||||
ppf->Release();
|
||||
} else {
|
||||
qWarning() << "Failed to query IPersistFile interface from IShellLink instance";
|
||||
qWarning() << "hres = " << hres;
|
||||
qWarning() << "hres =" << hres;
|
||||
}
|
||||
psl->Release();
|
||||
} else {
|
||||
qWarning() << "Failed to create IShellLink instance";
|
||||
qWarning() << "hres = " << hres;
|
||||
qWarning() << "hres =" << hres;
|
||||
}
|
||||
|
||||
// go away COM, nobody likes you
|
||||
|
|
@ -1399,14 +1399,14 @@ bool win_ioctl_clone(const std::wstring& src_path, const std::wstring& dst_path,
|
|||
ULONG fs_flags;
|
||||
if (!GetVolumeInformationByHandleW(hSourceFile, nullptr, 0, nullptr, nullptr, &fs_flags, nullptr, 0)) {
|
||||
ec = std::error_code(GetLastError(), std::system_category());
|
||||
qDebug() << "Failed to get Filesystem information for " << src_path.c_str();
|
||||
qDebug() << "Failed to get Filesystem information for" << src_path.c_str();
|
||||
CloseHandle(hSourceFile);
|
||||
return false;
|
||||
}
|
||||
if (!(fs_flags & FILE_SUPPORTS_BLOCK_REFCOUNTING)) {
|
||||
SetLastError(ERROR_NOT_CAPABLE);
|
||||
ec = std::error_code(GetLastError(), std::system_category());
|
||||
qWarning() << "Filesystem at " << src_path.c_str() << " does not support reflink";
|
||||
qWarning() << "Filesystem at" << src_path.c_str() << "does not support reflink";
|
||||
CloseHandle(hSourceFile);
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue