Commit 74dce858 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Remove endl at the end of QDebug. It already adds it

parent c77475f6
......@@ -18,7 +18,7 @@ KBlocksGraphics::KBlocksGraphics(const QString &themeFile)
m_theme = new KGameTheme();
if (!m_theme->load(themeFile)) {
qCWarning(KBGraphics) << "Error loading KBlocks .desktop theme"
<< themeFile << endl;
<< themeFile;
m_theme->loadDefault();
}
m_renderer = new QSvgRenderer(m_theme->graphics());
......@@ -35,12 +35,12 @@ bool KBlocksGraphics::loadTheme(const QString &themeFile)
{
if (!m_theme->load(themeFile)) {
qCWarning(KBGraphics) << "Error loading KBlocks .desktop theme"
<< themeFile << endl;
<< themeFile;
return false;
}
if (!m_renderer->load(m_theme->graphics())) {
qCWarning(KBGraphics) << "Error loading SVG theme"
<< m_theme->graphics() << endl;
<< m_theme->graphics();
return false;
}
//clear the cache or pixmaps from the old theme will be returned
......
......@@ -36,7 +36,7 @@ bool KBlocksSound::loadTheme(const QString &themeFile)
KGameTheme theme;
if (!theme.load(themeFile)) {
qCWarning(KBSound) << "Error loading KBlocks .desktop theme"
<< themeFile << endl;
<< themeFile;
theme.loadDefault();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment