forked from qt-creator/qt-creator
Core: Force use of static DocumentManager interface
Change-Id: Ieb2c0ecd3d34a3aad653c6eb5b00bc20d2c61986 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -60,7 +60,7 @@ public:
|
||||
|
||||
typedef QPair<QString, Id> RecentFile;
|
||||
|
||||
static DocumentManager *instance();
|
||||
static QObject *instance();
|
||||
|
||||
// file pool to monitor
|
||||
static void addDocuments(const QList<IDocument *> &documents, bool addWatcher = true);
|
||||
@@ -154,7 +154,7 @@ private slots:
|
||||
|
||||
private:
|
||||
explicit DocumentManager(QMainWindow *ew);
|
||||
virtual ~DocumentManager();
|
||||
~DocumentManager();
|
||||
|
||||
friend class Core::Internal::MainWindow;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user