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
Marco Bubke
flatpak-qt-creator
Commits
329f6954
Commit
329f6954
authored
Apr 19, 2011
by
hjk
Browse files
fix krazy warnings
parent
8afd8b86
Changes
3
Hide whitespace changes
Inline
Side-by-side
doc/examples/addressbook-sdk/part7/addressbook.cpp
View file @
329f6954
...
...
@@ -352,7 +352,7 @@ void AddressBook::exportAsVCard()
lastName
=
nameList
.
last
();
}
else
{
firstName
=
name
;
lastName
=
""
;
lastName
.
clear
()
;
}
QString
fileName
=
QFileDialog
::
getSaveFileName
(
this
,
...
...
@@ -381,9 +381,9 @@ void AddressBook::exportAsVCard()
else
out
<<
"FN:"
<<
firstName
<<
"
\n
"
;
address
.
replace
(
";"
,
"
\\
;"
,
Qt
::
CaseInsensitive
);
address
.
replace
(
"
\n
"
,
";"
,
Qt
::
CaseInsensitive
);
address
.
replace
(
","
,
" "
,
Qt
::
CaseInsensitive
);
address
.
replace
(
';'
,
"
\\
;"
,
Qt
::
CaseInsensitive
);
address
.
replace
(
'
\n
'
,
";"
,
Qt
::
CaseInsensitive
);
address
.
replace
(
','
,
" "
,
Qt
::
CaseInsensitive
);
out
<<
"ADR;HOME:;"
<<
address
<<
"
\n
"
;
out
<<
"END;VCARD"
<<
"
\n
"
;
...
...
src/plugins/bazaar/pullorpushdialog.h
View file @
329f6954
...
...
@@ -51,7 +51,7 @@ public:
PushMode
};
PullOrPushDialog
(
Mode
mode
,
QWidget
*
parent
=
0
);
explicit
PullOrPushDialog
(
Mode
mode
,
QWidget
*
parent
=
0
);
~
PullOrPushDialog
();
// Common parameters and options
...
...
src/plugins/debugger/name_demangler.cpp
View file @
329f6954
...
...
@@ -332,7 +332,7 @@ bool NameDemanglerPrivate::demangle(const QString &mangledName)
#ifdef DO_TRACE
qDebug
(
"%d"
,
substitutions
.
size
());
foreach
(
QString
s
,
substitutions
)
foreach
(
const
QString
&
s
,
substitutions
)
qDebug
(
qPrintable
(
s
));
#endif
return
!
parseError
;
...
...
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