Fix Windows

This commit is contained in:
Hannah von Reth 2015-12-03 15:12:44 +01:00
parent f90bc36fb7
commit 6f962b9cd9
2 changed files with 6 additions and 5 deletions

View File

@ -52,16 +52,17 @@ private:
static const QDir &pluginDir();
static inline const QStringList pluginExtentions()
{
QStringList out;
QStringList out({
#if defined(Q_OS_UNIX)
out << QStringLiteral("so");
QStringLiteral("so")
#endif
#if defined(Q_OS_WIN)
out << QStringLiteral("dll");
QStringLiteral("dll")
#endif
#if defined(Q_OS_MAC)
out << QStringLiteral("dylib");
QStringLiteral("dylib")
#endif
});
return out;
}

View File

@ -66,7 +66,7 @@ public:
notification = m_snarl->m_idMap.value(msg->lParam);
}
Notification::CloseReasons reason = Notification::NONE;
Notification::CloseReasons reason = Notification::None;
switch (action) {
case SnarlEnums::CallbackInvoked:
reason = Notification::Activated;