Commit 1a621a9c authored by hjk's avatar hjk

Fixes: coreplugin: remove a few more PluginManager* parameters

parent f9679651
...@@ -1114,7 +1114,7 @@ void MainWindow::destroyVersionDialog() ...@@ -1114,7 +1114,7 @@ void MainWindow::destroyVersionDialog()
void MainWindow::aboutPlugins() void MainWindow::aboutPlugins()
{ {
PluginDialog dialog(ExtensionSystem::PluginManager::instance(), this); PluginDialog dialog(this);
dialog.exec(); dialog.exec();
} }
......
...@@ -132,8 +132,6 @@ private: ...@@ -132,8 +132,6 @@ private:
QWidget *m_buttonsWidget; QWidget *m_buttonsWidget;
QMap<int, QPushButton *> m_buttons; QMap<int, QPushButton *> m_buttons;
QMap<QAction *, int> m_actions; QMap<QAction *, int> m_actions;
static OutputPaneManager *m_instance;
}; };
} // namespace Internal } // namespace Internal
......
...@@ -48,9 +48,9 @@ ...@@ -48,9 +48,9 @@
using namespace Core::Internal; using namespace Core::Internal;
PluginDialog::PluginDialog(ExtensionSystem::PluginManager *manager, QWidget *parent) PluginDialog::PluginDialog(QWidget *parent)
: QDialog(parent), : QDialog(parent),
m_view(new ExtensionSystem::PluginView(manager, this)) m_view(new ExtensionSystem::PluginView(ExtensionSystem::PluginManager::instance(), this))
{ {
QVBoxLayout *vl = new QVBoxLayout(this); QVBoxLayout *vl = new QVBoxLayout(this);
vl->addWidget(m_view); vl->addWidget(m_view);
......
...@@ -41,7 +41,6 @@ class QPushButton; ...@@ -41,7 +41,6 @@ class QPushButton;
QT_END_NAMESPACE QT_END_NAMESPACE
namespace ExtensionSystem { namespace ExtensionSystem {
class PluginManager;
class PluginSpec; class PluginSpec;
class PluginView; class PluginView;
} }
...@@ -54,7 +53,7 @@ class PluginDialog : public QDialog ...@@ -54,7 +53,7 @@ class PluginDialog : public QDialog
Q_OBJECT Q_OBJECT
public: public:
PluginDialog(ExtensionSystem::PluginManager *manager, QWidget *parent); explicit PluginDialog(QWidget *parent);
private slots: private slots:
void updateButtons(); void updateButtons();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment