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
43702d31
Commit
43702d31
authored
Oct 10, 2021
by
Waqar Ahmed
Browse files
Remove commented code & fix incorrect constFirst
parent
b3ca7459
Pipeline
#87599
passed with stage
in 2 minutes and 47 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
addons/git-blame/kategitblameplugin.cpp
View file @
43702d31
...
...
@@ -274,7 +274,6 @@ void KateGitBlamePluginView::showCommitInfo(const QString &hash, KTextEditor::Vi
void
KateGitBlamePluginView
::
blameFinished
(
int
/*exitCode*/
,
QProcess
::
ExitStatus
/*exitStatus*/
)
{
// QString stdErr = QString::fromUtf8(m_blameInfoProc.readAllStandardError());
const
QStringList
stdOut
=
QString
::
fromUtf8
(
m_blameInfoProc
.
readAllStandardOutput
()).
split
(
QLatin1Char
(
'\n'
));
// check if the git process was running for a previous document when the view changed.
...
...
@@ -301,7 +300,6 @@ void KateGitBlamePluginView::blameFinished(int /*exitCode*/, QProcess::ExitStatu
void
KateGitBlamePluginView
::
showFinished
(
int
exitCode
,
QProcess
::
ExitStatus
exitStatus
)
{
// QString stdErr = QString::fromUtf8(m_showProc.readAllStandardError());
QString
stdOut
=
QString
::
fromUtf8
(
m_showProc
.
readAllStandardOutput
());
// Try to avoid crashes caused by QTextBrowser running out of memory
...
...
kate/katemdi.cpp
View file @
43702d31
...
...
@@ -518,7 +518,7 @@ bool Sidebar::isCollapsed()
return
false
;
}
return
m_splitter
->
sizes
().
constFirst
(
)
==
0
;
return
m_splitter
->
sizes
().
at
(
ownSplitIndex
)
==
0
;
}
void
Sidebar
::
handleCollapse
(
int
pos
,
int
index
)
...
...
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