Skip to content

Commit

Permalink
mumble: fix Mac build after the overlay header refactoring.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrautz authored and Kissaki committed Feb 25, 2014
1 parent d41c148 commit 487fcab
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/mumble/GlobalShortcut_macx.mm
Expand Up @@ -33,7 +33,7 @@
#import <Carbon/Carbon.h>

#include "GlobalShortcut_macx.h"
#include "Overlay.h"
#include "OverlayClient.h"

#define MOD_OFFSET 0x10000
#define MOUSE_OFFSET 0x20000
Expand Down
5 changes: 5 additions & 0 deletions src/mumble/Overlay.h
Expand Up @@ -34,6 +34,11 @@
#include <QtCore/QtGlobal>
#include <QtCore/QUrl>
#include <QtNetwork/QLocalSocket>
#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
# include <QtWidgets/QGraphicsItem>
#else
# include <QtGui/QGraphicsItem>
#endif

#include "ConfigDialog.h"
#include "OverlayText.h"
Expand Down
5 changes: 0 additions & 5 deletions src/mumble/OverlayClient.h
Expand Up @@ -32,11 +32,6 @@
#define MUMBLE_MUMBLE_OVERLAYCLIENT_H_

#include <QtCore/QUrl>
#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
# include <QtWidgets/QGraphicsItem>
#else
# include <QtGui/QGraphicsItem>
#endif
#include <QtNetwork/QLocalSocket>

#include "Timer.h"
Expand Down
3 changes: 3 additions & 0 deletions src/mumble/OverlayText.h
Expand Up @@ -31,6 +31,9 @@
#ifndef MUMBLE_MUMBLE_OVERLAYTEXT_H_
#define MUMBLE_MUMBLE_OVERLAYTEXT_H_

#include <QtGui/QPixmap>
#include <QtGui/QFont>

//! Annotated QPixmap supplying a basepoint.
class BasepointPixmap : public QPixmap {
public:
Expand Down
3 changes: 2 additions & 1 deletion src/mumble/Overlay_macx.mm
Expand Up @@ -33,7 +33,8 @@
#import <ScriptingBridge/ScriptingBridge.h>
#import <Cocoa/Cocoa.h>
#include <Carbon/Carbon.h>
#include "Overlay.h"
#include "OverlayConfig.h"
#include "OverlayClient.h"
#include "Global.h"
#include "MainWindow.h"

Expand Down

0 comments on commit 487fcab

Please sign in to comment.