diff --git a/src/core/notification/icon.h b/src/core/notification/icon.h index 2e30cca..aebd0de 100644 --- a/src/core/notification/icon.h +++ b/src/core/notification/icon.h @@ -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); diff --git a/src/core/notification/notification.h b/src/core/notification/notification.h index f0769ee..284f78a 100644 --- a/src/core/notification/notification.h +++ b/src/core/notification/notification.h @@ -89,7 +89,7 @@ private: static uint m_idCount; - class NotificationData : public QSharedData + class SNORE_EXPORT NotificationData : public QSharedData { public: diff --git a/src/core/snore.cpp b/src/core/snore.cpp index 1bb48a9..1c9564e 100644 --- a/src/core/snore.cpp +++ b/src/core/snore.cpp @@ -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; }