@@ -52,13 +52,13 @@ void CanRawSenderPrivate::removeRowsSelectedByMouse()
5252 QModelIndexList IndexList = _ui.getSelectedRows ();
5353 std::list<QModelIndex> tmp{IndexList.begin (), IndexList.end ()};
5454
55- tmp.sort (); // List must to be sorted and reversed because erasing started from last row
55+ tmp.sort (); // List must be sorted and reversed because erasing started from last row
5656 tmp.reverse ();
5757
5858 for (QModelIndex n : tmp) {
5959 _tvModel.removeRow (n.row ()); // Delete line from table view
6060 _lines.erase (_lines.begin () + n.row ()); // Delete lines also from collection
61- // TODO: check if works when the collums was sorted before
61+ // TODO: check if it works when columns were sorted before
6262 }
6363}
6464
@@ -109,7 +109,7 @@ bool CanRawSenderPrivate::columnAdopt(QJsonObject const& json)
109109 return false ;
110110 }
111111 if (colArray.contains (" Remote" ) == false ) {
112- // Backward compability .
112+ // Backward compatibility .
113113 cds_warn (" Columns array does not contain Remote field." );
114114 }
115115 if (colArray.contains (" Loop" ) == false ) {
@@ -121,7 +121,7 @@ bool CanRawSenderPrivate::columnAdopt(QJsonObject const& json)
121121 return false ;
122122 }
123123
124- cds_info (" Columns validation is finished successfully." );
124+ cds_info (" Columns validation finished successfully." );
125125 return true ;
126126}
127127
@@ -160,7 +160,7 @@ bool CanRawSenderPrivate::sortingAdopt(QJsonObject const& json)
160160 }
161161
162162 _currentIndex = newIdx;
163- cds_debug (" currentIndex data is adopted new value = {}." , std::to_string (_currentIndex));
163+ cds_debug (" currentIndex data adopted new value = {}." , std::to_string (_currentIndex));
164164
165165 return true ;
166166}
@@ -216,8 +216,8 @@ bool CanRawSenderPrivate::contentAdopt(QJsonObject const& json)
216216 for (auto ii = 0 ; ii < contentArray.count (); ++ii) {
217217 auto line = contentArray[ii].toObject ();
218218
219- data.clear ();
220- id.clear ();
219+ data.clear ();
220+ id.clear ();
221221 interval.clear ();
222222 remote = false ;
223223 loop = false ;
0 commit comments