From d680eb9bf19084dba4a3fe919709ab4613fdd7c7 Mon Sep 17 00:00:00 2001 From: Thorvald Natvig Date: Thu, 9 Oct 2008 10:18:33 +0000 Subject: Add Q_DISABLE_COPY to most classes git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@1326 05730e5d-ab1b-0410-a4ac-84af385074fa --- src/mumble/GlobalShortcut_unix.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mumble/GlobalShortcut_unix.h') diff --git a/src/mumble/GlobalShortcut_unix.h b/src/mumble/GlobalShortcut_unix.h index f3fbae419..c08e596a1 100644 --- a/src/mumble/GlobalShortcut_unix.h +++ b/src/mumble/GlobalShortcut_unix.h @@ -34,7 +34,9 @@ #define NUM_BUTTONS 0x2ff class GlobalShortcutX : public GlobalShortcutEngine { + private: Q_OBJECT + Q_DISABLE_COPY(GlobalShortcutX) public: Display *display; volatile bool bRunning; -- cgit v1.2.3