[vlmc-devel] Project: remove unnecessary includes
Jean-Baptiste Kempf
git at videolan.org
Sat Mar 1 14:50:06 CET 2014
vlmc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Mar 1 14:35:05 2014 +0100| [933c64fe700b71f5e52b6cb7aeab9bd0a06676da] | committer: Jean-Baptiste Kempf
Project: remove unnecessary includes
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=933c64fe700b71f5e52b6cb7aeab9bd0a06676da
---
src/Project/ProjectManager.cpp | 2 +-
src/Project/ProjectManager.h | 2 +-
src/Project/Workspace.cpp | 2 ++
src/Project/Workspace.h | 2 +-
4 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/Project/ProjectManager.cpp b/src/Project/ProjectManager.cpp
index 82e99a8..f1928b5 100644
--- a/src/Project/ProjectManager.cpp
+++ b/src/Project/ProjectManager.cpp
@@ -33,7 +33,7 @@
#include "Workspace.h"
#include <QDir>
-#include <QMessageBox>
+#include <QDomDocument>
#include <errno.h>
#include <signal.h>
diff --git a/src/Project/ProjectManager.h b/src/Project/ProjectManager.h
index c21f256..2a3f313 100644
--- a/src/Project/ProjectManager.h
+++ b/src/Project/ProjectManager.h
@@ -25,8 +25,8 @@
#include "config.h"
#include <QObject>
-#include <QDomDocument>
#include <QStringList>
+#include <QDomElement>
#include "Singleton.hpp"
diff --git a/src/Project/Workspace.cpp b/src/Project/Workspace.cpp
index 8348cc4..d8533ac 100644
--- a/src/Project/Workspace.cpp
+++ b/src/Project/Workspace.cpp
@@ -29,6 +29,8 @@
#include "SettingsManager.h"
#include "VlmcDebug.h"
+#include <QMutex>
+
#ifdef WITH_GUI
# include "NotificationZone.h"
# include <QMessageBox>
diff --git a/src/Project/Workspace.h b/src/Project/Workspace.h
index 022771f..c1fe2c6 100644
--- a/src/Project/Workspace.h
+++ b/src/Project/Workspace.h
@@ -27,7 +27,6 @@
#include "ErrorHandler.h"
-#include <QMutex>
#include <QObject>
#include <QQueue>
@@ -35,6 +34,7 @@ class Clip;
class Media;
class QFileInfo;
+class QMutex;
class Workspace : public QObject, public Singleton<Workspace>, public ErrorHandler
{
More information about the Vlmc-devel
mailing list