mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-02-01 09:09:58 +01:00
Fix various typos in source documentation and comments (cont.)
Found via `codespell`
This commit is contained in:
committed by
Laurent Trinques
parent
a76e5446aa
commit
1994235bc5
@@ -152,7 +152,7 @@ QList<Conductor *> ConductorCreator::existingPotential()
|
||||
{
|
||||
c_list.append(t->conductors().first());
|
||||
|
||||
//We must to check m_terminals_list contain a terminal
|
||||
//We must check if m_terminals_list contains a terminal
|
||||
//in the same potential of c, and if true, exclude this terminal from the search.
|
||||
for (Conductor *c : t->conductors().first()->relatedPotentialConductors(false))
|
||||
{
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace QetSettings
|
||||
* QElectroTech settings
|
||||
* the value is in form of a string.
|
||||
* @a policy can be : Round, Ceil, Floor, RoundPreferFloor, PassThrough
|
||||
* In case of wrong policy, PassThrough is use as defaukt value.
|
||||
* In case of wrong policy, PassThrough is use as default value.
|
||||
* The value is stored with key : hdpi_scale_factor_rounding_policy
|
||||
* @sa Qt::HighDpiScaleFactorRoundingPolicy
|
||||
* @param policy
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
/**
|
||||
*Interface to use QSettings in QElectroTech
|
||||
*Prefer use this namespace instead of directly QSettings
|
||||
*It's notably usefull when some QSettings value are use in
|
||||
*It's notably useful when some QSettings value are used in
|
||||
*different part of QElectroTech source code
|
||||
*/
|
||||
namespace QetSettings
|
||||
|
||||
@@ -93,9 +93,9 @@ qreal QETUtils::graphicsHandlerSize(QGraphicsItem *item)
|
||||
* Sort the string @a str_a and @a str_b and take in
|
||||
* count if string begin with an int to sort it
|
||||
* as int and not as string in this case.
|
||||
* For exemple if we have to sort the string :
|
||||
* For example if we have to sort the string :
|
||||
* "3str", 10str", "100str", "2str", "20str".
|
||||
* The default behavior when sorting QString with the comparaison operator will be:
|
||||
* The default behavior when sorting QString with the comparison operator will be:
|
||||
* "10str" "100str" "2str", "20str", "3str"
|
||||
* When sorting with this function, the result will be :
|
||||
* "10str", "2str", "3str", "20str", "100str"
|
||||
|
||||
Reference in New Issue
Block a user