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()
void MainWindow::aboutPlugins()
{
PluginDialog dialog(ExtensionSystem::PluginManager::instance(), this);
PluginDialog dialog(this);
dialog.exec();
}
......
......@@ -132,8 +132,6 @@ private:
QWidget *m_buttonsWidget;
QMap<int, QPushButton *> m_buttons;
QMap<QAction *, int> m_actions;
static OutputPaneManager *m_instance;
};
} // namespace Internal
......
......@@ -48,9 +48,9 @@
using namespace Core::Internal;
PluginDialog::PluginDialog(ExtensionSystem::PluginManager *manager, QWidget *parent)
PluginDialog::PluginDialog(QWidget *parent)
: QDialog(parent),
m_view(new ExtensionSystem::PluginView(manager, this))
m_view(new ExtensionSystem::PluginView(ExtensionSystem::PluginManager::instance(), this))
{
QVBoxLayout *vl = new QVBoxLayout(this);
vl->addWidget(m_view);
......
......@@ -41,7 +41,6 @@ class QPushButton;
QT_END_NAMESPACE
namespace ExtensionSystem {
class PluginManager;
class PluginSpec;
class PluginView;
}
......@@ -54,7 +53,7 @@ class PluginDialog : public QDialog
Q_OBJECT
public:
PluginDialog(ExtensionSystem::PluginManager *manager, QWidget *parent);
explicit PluginDialog(QWidget *parent);
private slots:
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