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
Utilities
Kate
Commits
997aa723
Commit
997aa723
authored
Mar 09, 2021
by
Christoph Cullmann
🐮
Browse files
remove hard timeout
no longer needed + tries to access already deleted stuff
parent
858b18d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
addons/project/gitwidget.cpp
View file @
997aa723
...
...
@@ -361,16 +361,6 @@ void GitWidget::runPushPullCmd(const QStringList &args)
enableCancel
(
git
);
git
->
setArguments
(
args
);
git
->
start
(
QProcess
::
ReadOnly
);
// kill after 40 seconds
QTimer
::
singleShot
(
40000
,
this
,
[
git
,
this
]
{
if
(
git
->
state
()
==
QProcess
::
Running
)
{
sendMessage
(
i18n
(
"Git operation timed-out. Killing..."
),
true
);
git
->
kill
();
git
->
deleteLater
();
hideCancel
();
}
});
}
void
GitWidget
::
stage
(
const
QStringList
&
files
,
bool
)
...
...
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