small fix
This commit is contained in:
parent
bb67fbf268
commit
ceb6a71066
|
@ -79,7 +79,7 @@ Hint &Application::hints()
|
||||||
return d->m_hint;
|
return d->m_hint;
|
||||||
}
|
}
|
||||||
|
|
||||||
const Hint &Application::hints() const
|
const Hint &Application::consHints() const
|
||||||
{
|
{
|
||||||
return d->m_hint;
|
return d->m_hint;
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,7 +45,7 @@ public:
|
||||||
bool isValid() const;
|
bool isValid() const;
|
||||||
|
|
||||||
Hint &hints();
|
Hint &hints();
|
||||||
const Hint &hints() const;
|
const Hint &consHints() const;
|
||||||
private:
|
private:
|
||||||
QExplicitlySharedDataPointer<ApplicationData> d;
|
QExplicitlySharedDataPointer<ApplicationData> d;
|
||||||
|
|
||||||
|
|
|
@ -79,7 +79,7 @@ const QByteArray &Snore::IconData::imageData()
|
||||||
return m_data;
|
return m_data;
|
||||||
}
|
}
|
||||||
|
|
||||||
QImage IconData::image()
|
const QImage &IconData::image()
|
||||||
{
|
{
|
||||||
if(m_img.isNull())
|
if(m_img.isNull())
|
||||||
{
|
{
|
||||||
|
|
|
@ -40,7 +40,7 @@ public:
|
||||||
|
|
||||||
|
|
||||||
const QByteArray &imageData();
|
const QByteArray &imageData();
|
||||||
QImage image();
|
const QImage &image();
|
||||||
void download();
|
void download();
|
||||||
|
|
||||||
QImage m_img;
|
QImage m_img;
|
||||||
|
|
Loading…
Reference in New Issue