small fixes for export, and a cleanup for the tmp string

This commit is contained in:
Patrick von Reth 2013-07-18 10:16:53 +02:00
parent 10ed363d23
commit 50b78c6cca
3 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@ private:
static QString computeHash(const QByteArray &data);
class SnoreIconData : public QSharedData
class SNORE_EXPORT SnoreIconData : public QSharedData
{
public:
SnoreIconData(const QImage &img);

View File

@ -89,7 +89,7 @@ private:
static uint m_idCount;
class NotificationData : public QSharedData
class SNORE_EXPORT NotificationData : public QSharedData
{
public:

View File

@ -60,7 +60,7 @@ QString const SnoreCore::version(){
}
QString const SnoreCore::snoreTMP(){
static const QString tmp = QDir::temp().path() +"/SnoreNotify/";
static const QString tmp = QString("%1/SnoreNotify/").arg(QDir::temp().path());
return tmp;
}