small fix

This commit is contained in:
Patrick von Reth 2014-01-14 12:34:33 +01:00
parent bb67fbf268
commit ceb6a71066
4 changed files with 5 additions and 5 deletions

View File

@ -79,7 +79,7 @@ Hint &Application::hints()
return d->m_hint;
}
const Hint &Application::hints() const
const Hint &Application::consHints() const
{
return d->m_hint;
return d->m_hint;
}

View File

@ -45,7 +45,7 @@ public:
bool isValid() const;
Hint &hints();
const Hint &hints() const;
const Hint &consHints() const;
private:
QExplicitlySharedDataPointer<ApplicationData> d;

View File

@ -79,7 +79,7 @@ const QByteArray &Snore::IconData::imageData()
return m_data;
}
QImage IconData::image()
const QImage &IconData::image()
{
if(m_img.isNull())
{

View File

@ -40,7 +40,7 @@ public:
const QByteArray &imageData();
QImage image();
const QImage &image();
void download();
QImage m_img;