Skip to content
GitLab
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
80858f81
Commit
80858f81
authored
Mar 19, 2010
by
Friedemann Kleint
Browse files
VCS[Mercurial]: Fix initialization order.
parent
0f7b7464
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/mercurial/mercurialplugin.cpp
View file @
80858f81
...
...
@@ -155,6 +155,7 @@ bool MercurialPlugin::initialize(const QStringList & /* arguments */, QString *
{
typedef
VCSBase
::
VCSEditorFactory
<
MercurialEditor
>
MercurialEditorFactory
;
m_client
=
new
MercurialClient
();
VCSBase
::
VCSBasePlugin
::
initialize
(
new
MercurialControl
(
m_client
));
core
=
Core
::
ICore
::
instance
();
...
...
@@ -164,7 +165,6 @@ bool MercurialPlugin::initialize(const QStringList & /* arguments */, QString *
addAutoReleasedObject
(
optionsPage
);
mercurialSettings
.
readSettings
(
core
->
settings
());
m_client
=
new
MercurialClient
();
connect
(
optionsPage
,
SIGNAL
(
settingsChanged
()),
m_client
,
SLOT
(
settingsChanged
()));
connect
(
m_client
,
SIGNAL
(
changed
(
QVariant
)),
versionControl
(),
SLOT
(
changed
(
QVariant
)));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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