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
178fe102
Commit
178fe102
authored
Mar 17, 2009
by
Friedemann Kleint
Browse files
Fixes: Suppress colors for git diff project, class names in widget template
parent
465bf149
Changes
2
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/templates/qt4project/widget.ui
View file @
178fe102
<ui version="4.0">
<class>%CLASS%
Class
</class>
<class>%CLASS%</class>
<widget class="%BASECLASS%" name="%CLASS%" >
<property name="geometry" >
<rect>
...
...
src/plugins/git/gitclient.cpp
View file @
178fe102
...
...
@@ -235,9 +235,9 @@ void GitClient::diff(const QString &workingDirectory,
if
(
Git
::
Constants
::
debug
)
qDebug
()
<<
"diff"
<<
workingDirectory
<<
fileName
;
QStringList
arguments
;
arguments
<<
QLatin1String
(
"diff"
);
arguments
<<
QLatin1String
(
"diff"
)
<<
QLatin1String
(
noColorOption
)
;
if
(
!
fileName
.
isEmpty
())
arguments
<<
diffArgs
<<
QLatin1String
(
noColorOption
)
<<
QLatin1String
(
"--"
)
<<
fileName
;
arguments
<<
diffArgs
<<
QLatin1String
(
"--"
)
<<
fileName
;
const
QString
kind
=
QLatin1String
(
Git
::
Constants
::
GIT_DIFF_EDITOR_KIND
);
const
QString
title
=
tr
(
"Git Diff %1"
).
arg
(
fileName
);
...
...
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