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
4821aa47
Commit
4821aa47
authored
May 07, 2021
by
Waqar Ahmed
Browse files
Fix condition when setting gitPath
Signed-off-by:
Waqar Ahmed
<
waqar.17a@gmail.com
>
parent
fb8f96f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
addons/project/gitwidget.cpp
View file @
4821aa47
...
...
@@ -256,7 +256,7 @@ GitWidget::~GitWidget()
void
GitWidget
::
setDotGitPath
()
{
const
auto
dotGitPath
=
GitUtils
::
getDotGitPath
(
m_project
->
baseDir
());
if
(
dotGitPath
.
has_value
())
{
if
(
!
dotGitPath
.
has_value
())
{
QTimer
::
singleShot
(
1
,
this
,
[
this
]
{
sendMessage
(
i18n
(
"Failed to find .git directory, things may not work correctly"
),
false
);
});
...
...
Waqar Ahmed
@waqar
mentioned in merge request
!390 (merged)
·
May 07, 2021
mentioned in merge request
!390 (merged)
mentioned in merge request !390
Toggle commit list
Write
Preview
Markdown
is supported
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