Commit ef168ce8 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix clazy warning

parent 02361168
......@@ -182,7 +182,7 @@ KConfigGroup ThemeManager::config(const QString &id)
// Get a pixmap when its size is given (this can distort the image)
const QPixmap ThemeManager::getPixmap(const QString &svgid,const QSize &size)
const QPixmap ThemeManager::getPixmap(const QString &svgid, QSize size)
if (size.width() < 1 || size.height() < 1)
qCCritical(KFOURINLINE_LOG) << "ThemeManager::getPixmap Cannot create svgid ID " << svgid << " with zero size" << size;
......@@ -122,7 +122,7 @@ class ThemeManager : public QObject
* @param size The size of the resulting pixmap
* @return The new pixmap.
const QPixmap getPixmap(const QString &svgid, const QSize &size);
const QPixmap getPixmap(const QString &svgid, QSize size);
/** Load a pixmap from the SVG theme file. Its filename is given in the
* "general" section of the theme file as "svgfile". The pixmap is scaled
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