Fixes: coreplugin: remove a few more PluginManager* parameters

This commit is contained in:
hjk
2009-01-26 14:30:04 +01:00
parent f9679651e1
commit 1a621a9c9e
4 changed files with 4 additions and 7 deletions

View File

@@ -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();
} }

View File

@@ -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

View File

@@ -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);

View File

@@ -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
Q_OBJECT Q_OBJECT
public: public:
PluginDialog(ExtensionSystem::PluginManager *manager, QWidget *parent); explicit PluginDialog(QWidget *parent);
private slots: private slots:
void updateButtons(); void updateButtons();