Skip to content

Commit

Permalink
Qt UI: fix build in Mac OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
tehnick committed Jul 11, 2013
1 parent bcb2ab2 commit 36b4b4b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions eiskaltdcpp-qt/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ using namespace std;
#include "EiskaltApp_haiku.h"
#elif defined(Q_WS_MAC)
#include "EiskaltApp_mac.h"
#include <objc/objc.h>
#include <objc/message.h>
#endif

#include "WulforUtil.h"
Expand Down Expand Up @@ -94,16 +96,13 @@ void migrateConfig();
#endif

#if defined(Q_WS_MAC)
bool dockClickHandler(id self, SEL _cmd, ...)
void dockClickHandler(id self, SEL _cmd)
{
Q_UNUSED(self)
Q_UNUSED(_cmd)
Notification *N = Notification::getInstance();
if (N){
if (N)
N->slotShowHide();
return true;
}
return false;
}
#endif

Expand Down

0 comments on commit 36b4b4b

Please sign in to comment.