Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Beatrici <davidebeatrici@gmail.com>2019-09-12 23:44:16 +0300
committerGitHub <noreply@github.com>2019-09-12 23:44:16 +0300
commita38d19a7595c3e672f5ed549400b36348e01e442 (patch)
tree34bd1c4db9b95748d263aea811e849dec7e5525c /src/mumble/UserLocalVolumeDialog.cpp
parent713b92c3c233f8f38200c4a458e0196d3d39a3b0 (diff)
parent15831dbca85dd906edbad2bfff2b147527a456e2 (diff)
Merge PR #3644: Don't include PCH headers directly, add missing includes
Diffstat (limited to 'src/mumble/UserLocalVolumeDialog.cpp')
-rw-r--r--src/mumble/UserLocalVolumeDialog.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/mumble/UserLocalVolumeDialog.cpp b/src/mumble/UserLocalVolumeDialog.cpp
index 10a21336e..b6d20a3b9 100644
--- a/src/mumble/UserLocalVolumeDialog.cpp
+++ b/src/mumble/UserLocalVolumeDialog.cpp
@@ -34,13 +34,18 @@
*/
-#include "mumble_pch.hpp"
-
#include "UserLocalVolumeDialog.h"
-#include "Global.h"
#include "ClientUser.h"
#include "Database.h"
+#include <QtGui/QCloseEvent>
+#include <QtWidgets/QPushButton>
+
+#include <cmath>
+
+// We define a global macro called 'g'. This can lead to issues when included code uses 'g' as a type or parameter name (like protobuf 3.7 does). As such, for now, we have to make this our last include.
+#include "Global.h"
+
UserLocalVolumeDialog::UserLocalVolumeDialog(unsigned int sessionId,
QMap<unsigned int, UserLocalVolumeDialog *> *qmUserVolTracker)
: QDialog(NULL)