mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-21 09:52:16 -07:00
Move logging from QDebug to QCDebug and introduce LoggingCategories.
This commit is contained in:
parent
92a903b035
commit
710f7b0f07
63 changed files with 262 additions and 123 deletions
|
|
@ -61,7 +61,7 @@ void DlgEditAvatar::actBrowse()
|
|||
imgReader.setDecideFormatFromContent(true);
|
||||
imgReader.setFileName(fileName);
|
||||
if (!imgReader.read(&image)) {
|
||||
qDebug() << "Avatar image loading failed for file:" << fileName;
|
||||
qCDebug(DlgEditAvatarLog) << "Avatar image loading failed for file:" << fileName;
|
||||
imageLabel->setText(tr("Invalid image chosen."));
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue