Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
1a621a9c
Commit
1a621a9c
authored
Jan 26, 2009
by
hjk
Browse files
Fixes: coreplugin: remove a few more PluginManager* parameters
parent
f9679651
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/plugins/coreplugin/mainwindow.cpp
View file @
1a621a9c
...
...
@@ -1114,7 +1114,7 @@ void MainWindow::destroyVersionDialog()
void
MainWindow
::
aboutPlugins
()
{
PluginDialog
dialog
(
ExtensionSystem
::
PluginManager
::
instance
(),
this
);
PluginDialog
dialog
(
this
);
dialog
.
exec
();
}
...
...
src/plugins/coreplugin/outputpane.h
View file @
1a621a9c
...
...
@@ -132,8 +132,6 @@ private:
QWidget
*
m_buttonsWidget
;
QMap
<
int
,
QPushButton
*>
m_buttons
;
QMap
<
QAction
*
,
int
>
m_actions
;
static
OutputPaneManager
*
m_instance
;
};
}
// namespace Internal
...
...
src/plugins/coreplugin/plugindialog.cpp
View file @
1a621a9c
...
...
@@ -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
);
...
...
src/plugins/coreplugin/plugindialog.h
View file @
1a621a9c
...
...
@@ -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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment