Fix Windows
This commit is contained in:
parent
f90bc36fb7
commit
6f962b9cd9
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue