mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-28 08:54:13 -04:00
optim: changed postfixed ++ into prefix++ for non trivial operators, replaced test on std::list::size() by std::list::empty() (Patch from Phenom, modified)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7627 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
491a655889
commit
b593a918a0
99 changed files with 571 additions and 571 deletions
|
@ -266,7 +266,7 @@ Rshare::parseArguments(QStringList args)
|
|||
QString arg, value;
|
||||
|
||||
/* Loop through all command-line args/values and put them in a map */
|
||||
for (int i = 0; i < args.size(); i++) {
|
||||
for (int i = 0; i < args.size(); ++i) {
|
||||
/* Get the argument name and set a blank value */
|
||||
arg = args.at(i).toLower();
|
||||
value = "";
|
||||
|
@ -514,7 +514,7 @@ void Rshare::refreshStyleSheet(QWidget *widget, bool processChildren)
|
|||
if (processChildren == true) {
|
||||
// process children recursively
|
||||
QObjectList childList = widget->children ();
|
||||
for (QObjectList::Iterator it = childList.begin(); it != childList.end(); it++) {
|
||||
for (QObjectList::Iterator it = childList.begin(); it != childList.end(); ++it) {
|
||||
QWidget *child = qobject_cast<QWidget*>(*it);
|
||||
if (child != NULL) {
|
||||
refreshStyleSheet(child, processChildren);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue