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
Utilities
Kate
Commits
aa1aac13
Commit
aa1aac13
authored
Oct 21, 2022
by
Waqar Ahmed
Browse files
Git: update status on init
parent
c88a5f30
Pipeline
#252528
passed with stage
in 25 minutes and 31 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
addons/project/gitwidget.cpp
View file @
aa1aac13
...
...
@@ -354,6 +354,7 @@ void GitWidget::init()
m_updateTrigger
.
setSingleShot
(
true
);
m_updateTrigger
.
setInterval
(
500
);
connect
(
&
m_updateTrigger
,
&
QTimer
::
timeout
,
this
,
&
GitWidget
::
slotUpdateStatus
);
slotUpdateStatus
();
connect
(
m_mainWin
,
&
KTextEditor
::
MainWindow
::
viewChanged
,
this
,
&
GitWidget
::
setActiveGitDir
);
}
...
...
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