Skip to content

Commit

Permalink
Replace minimise by minimize
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ committed Dec 29, 2016
1 parent 7911994 commit c440cec
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/app/composer/qgscomposer.cpp
Expand Up @@ -878,7 +878,7 @@ void QgsComposer::changeEvent( QEvent* event )
#endif
case QEvent::WindowStateChange:
{
/* Listen out for window un-minimisation and restore composer map states.
/* Listen out for window un-minimization and restore composer map states.
* We can't use showEvent to detect this due to QT Bug 36675 (see #6085).
*/
QWindowStateChangeEvent* changeEv = static_cast< QWindowStateChangeEvent* >( event );
Expand Down Expand Up @@ -3471,7 +3471,7 @@ void QgsComposer::writeXml( QDomNode& parentNode, QDomDocument& doc )
QDomElement composerElem = doc.createElement( QStringLiteral( "Composer" ) );
composerElem.setAttribute( QStringLiteral( "title" ), mTitle );

//change preview mode of minimised / hidden maps before saving XML (show contents only on demand)
//change preview mode of minimized / hidden maps before saving XML (show contents only on demand)
QMap< QgsComposerMap*, int >::const_iterator mapIt = mMapsToRestore.constBegin();
for ( ; mapIt != mMapsToRestore.constEnd(); ++mapIt )
{
Expand Down
2 changes: 1 addition & 1 deletion src/app/gps/qgsgpsinformationwidget.cpp
Expand Up @@ -703,7 +703,7 @@ void QgsGPSInformationWidget::displayGPSInformation( const QgsGPSInformation& in
QgsRectangle myExtentLimit( mpCanvas->extent() );
myExtentLimit.scale( mSpinMapExtentMultiplier->value() * 0.01 );

// only change the extents if the point is beyond the current extents to minimise repaints
// only change the extents if the point is beyond the current extents to minimize repaints
if ( radRecenterMap->isChecked() ||
( radRecenterWhenNeeded->isChecked() && !myExtentLimit.contains( myPoint ) ) )
{
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgscolorramp.cpp
Expand Up @@ -393,7 +393,7 @@ QList<QColor> QgsLimitedRandomColorRamp::randomColors( int count,
for ( int i = 0; i < count; ++i )
{
//increment hue by golden ratio (approx 137.507 degrees)
//as this minimises hue nearness as count increases
//as this minimizes hue nearness as count increases
//see http://basecase.org/env/on-rainbows for more details
currentHueAngle += 137.50776;
//scale hue to between hueMax and hueMin
Expand Down
Expand Up @@ -548,7 +548,7 @@ void eVisGenericEventBrowserGui::displayImage()
//keep the extent the same just center the map canvas in the display so our feature is in the middle
QgsRectangle myRect( myPoint.x() - ( mCanvas->extent().width() / 2 ), myPoint.y() - ( mCanvas->extent().height() / 2 ), myPoint.x() + ( mCanvas->extent().width() / 2 ), myPoint.y() + ( mCanvas->extent().height() / 2 ) );

// only change the extents if the point is beyond the current extents to minimise repaints
// only change the extents if the point is beyond the current extents to minimize repaints
if ( !mCanvas->extent().contains( myPoint ) )
{
mCanvas->setExtent( myRect );
Expand Down
2 changes: 1 addition & 1 deletion src/ui/qgstextformatwidgetbase.ui
Expand Up @@ -6274,7 +6274,7 @@ font-style: italic;</string>
<item>
<widget class="QLabel" name="label_14">
<property name="text">
<string>Minimise placing labels</string>
<string>Minimize placing labels</string>
</property>
</widget>
</item>
Expand Down

0 comments on commit c440cec

Please sign in to comment.