0001-Some-spelling-issues-have-been-fixed.patch
src/client/networkmodel.cpp | ||
---|---|---|
108 | 108 | |
109 | 109 |
newChild(bufferItem); |
110 | 110 | |
111 |
// postprocess... this is necessary because Qt doesn't seem to like adding childs which already have childs on their own
|
|
111 |
// postprocess... this is necessary because Qt doesn't seem to like adding children which already have children on their own
|
|
112 | 112 |
switch(bufferInfo.type()) { |
113 | 113 |
case BufferInfo::ChannelBuffer: |
114 | 114 |
{ |
src/client/selectionmodelsynchronizer.cpp | ||
---|---|---|
55 | 55 | |
56 | 56 |
void SelectionModelSynchronizer::synchronizeSelectionModel(QItemSelectionModel *selectionModel) { |
57 | 57 |
if(!checkBaseModel(selectionModel)) { |
58 |
qWarning() << "cannot Syncronize SelectionModel" << selectionModel << "which has a different baseModel()"; |
|
58 |
qWarning() << "cannot Synchronize SelectionModel" << selectionModel << "which has a different baseModel()";
|
|
59 | 59 |
return; |
60 | 60 |
} |
61 | 61 |
src/client/treemodel.cpp | ||
---|---|---|
459 | 459 |
void TreeModel::beginAppendChilds(int firstRow, int lastRow) { |
460 | 460 |
AbstractTreeItem *parentItem = qobject_cast<AbstractTreeItem *>(sender()); |
461 | 461 |
if(!parentItem) { |
462 |
qWarning() << "TreeModel::beginAppendChilds(): cannot append Childs to unknown parent";
|
|
462 |
qWarning() << "TreeModel::beginAppendChilds(): cannot append Children to unknown parent";
|
|
463 | 463 |
return; |
464 | 464 |
} |
465 | 465 | |
... | ... | |
474 | 474 |
void TreeModel::endAppendChilds() { |
475 | 475 |
AbstractTreeItem *parentItem = qobject_cast<AbstractTreeItem *>(sender()); |
476 | 476 |
if(!parentItem) { |
477 |
qWarning() << "TreeModel::endAppendChilds(): cannot append Childs to unknown parent";
|
|
477 |
qWarning() << "TreeModel::endAppendChilds(): cannot append Children to unknown parent";
|
|
478 | 478 |
return; |
479 | 479 |
} |
480 | 480 |
Q_ASSERT(_aboutToRemoveOrInsert); |
... | ... | |
493 | 493 |
void TreeModel::beginRemoveChilds(int firstRow, int lastRow) { |
494 | 494 |
AbstractTreeItem *parentItem = qobject_cast<AbstractTreeItem *>(sender()); |
495 | 495 |
if(!parentItem) { |
496 |
qWarning() << "TreeModel::beginRemoveChilds(): cannot append Childs to unknown parent";
|
|
496 |
qWarning() << "TreeModel::beginRemoveChilds(): cannot append Children to unknown parent";
|
|
497 | 497 |
return; |
498 | 498 |
} |
499 | 499 | |
... | ... | |
515 | 515 |
void TreeModel::endRemoveChilds() { |
516 | 516 |
AbstractTreeItem *parentItem = qobject_cast<AbstractTreeItem *>(sender()); |
517 | 517 |
if(!parentItem) { |
518 |
qWarning() << "TreeModel::endRemoveChilds(): cannot remove Childs from unknown parent";
|
|
518 |
qWarning() << "TreeModel::endRemoveChilds(): cannot remove Children from unknown parent";
|
|
519 | 519 |
return; |
520 | 520 |
} |
521 | 521 |
src/core/postgresqlstorage.cpp | ||
---|---|---|
338 | 338 |
} |
339 | 339 | |
340 | 340 |
if(!db.commit()) { |
341 |
qWarning() << "PostgreSqlStorage::createIdentity(): commiting data failed!"; |
|
341 |
qWarning() << "PostgreSqlStorage::createIdentity(): committing data failed!";
|
|
342 | 342 |
qWarning() << " -" << qPrintable(db.lastError().text()); |
343 | 343 |
return IdentityId(); |
344 | 344 |
} |
... | ... | |
421 | 421 |
} |
422 | 422 | |
423 | 423 |
if(!db.commit()) { |
424 |
qWarning() << "PostgreSqlStorage::updateIdentity(): commiting data failed!"; |
|
424 |
qWarning() << "PostgreSqlStorage::updateIdentity(): committing data failed!";
|
|
425 | 425 |
qWarning() << " -" << qPrintable(db.lastError().text()); |
426 | 426 |
return false; |
427 | 427 |
} |
... | ... | |
550 | 550 |
} |
551 | 551 | |
552 | 552 |
if(!db.commit()) { |
553 |
qWarning() << "PostgreSqlStorage::createNetwork(): commiting data failed!"; |
|
553 |
qWarning() << "PostgreSqlStorage::createNetwork(): committing data failed!";
|
|
554 | 554 |
qWarning() << " -" << qPrintable(db.lastError().text()); |
555 | 555 |
return NetworkId(); |
556 | 556 |
} |
... | ... | |
637 | 637 |
} |
638 | 638 | |
639 | 639 |
if(!db.commit()) { |
640 |
qWarning() << "PostgreSqlStorage::updateNetwork(): commiting data failed!"; |
|
640 |
qWarning() << "PostgreSqlStorage::updateNetwork(): committing data failed!";
|
|
641 | 641 |
qWarning() << " -" << qPrintable(db.lastError().text()); |
642 | 642 |
return false; |
643 | 643 |
} |
src/uisupport/flatproxymodel.cpp | ||
---|---|---|
506 | 506 |
// sanity check - if that check fails our indexes would be messed up |
507 | 507 |
for(int row = start; row <= end; row++) { |
508 | 508 |
if(sourceItem->child(row)->childCount() > 0) { |
509 |
qWarning() << "on_rowsAboutToBeRemoved(): sourceModel() removed rows which have childs on their own!" << sourceModel()->index(row, 0, parent);
|
|
509 |
qWarning() << "on_rowsAboutToBeRemoved(): sourceModel() removed rows which have children on their own!" << sourceModel()->index(row, 0, parent);
|
|
510 | 510 |
Q_ASSERT(false); |
511 | 511 |
} |
512 | 512 |
} |
... | ... | |
524 | 524 |
for(int row = start; row <= end; row++) { |
525 | 525 |
QModelIndex child = sourceModel()->index(row, 0, parent); |
526 | 526 |
if(sourceModel()->rowCount(child) > 0) { |
527 |
qWarning() << "on_rowsInserted(): sourceModel() inserted rows which already have childs on their own!" << child;
|
|
527 |
qWarning() << "on_rowsInserted(): sourceModel() inserted rows which already have children on their own!" << child;
|
|
528 | 528 |
Q_ASSERT(false); |
529 | 529 |
} |
530 | 530 |
} |
src/uisupport/nickviewfilter.cpp | ||
---|---|---|
40 | 40 |
} |
41 | 41 | |
42 | 42 |
bool NickViewFilter::filterAcceptsRow(int source_row, const QModelIndex &source_parent) const { |
43 |
// root node, networkindexes, the bufferindex of the buffer this filter is active for and it's childs are accepted
|
|
43 |
// root node, networkindexes, the bufferindex of the buffer this filter is active for and it's children are accepted
|
|
44 | 44 |
if(!source_parent.isValid()) |
45 | 45 |
return true; |
46 | 46 | |
47 |
- |