Skip to content

Commit

Permalink
[processing] Title case for algorithm dialog titles
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 16, 2018
1 parent d864cd6 commit 861153d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gui/processing/qgsprocessingalgorithmdialogbase.cpp
Expand Up @@ -22,6 +22,7 @@
#include "processing/qgsprocessingprovider.h"
#include "qgstaskmanager.h"
#include "processing/qgsprocessingalgrunnertask.h"
#include "qgsstringutils.h"
#include <QToolButton>
#include <QDesktopServices>
#include <QScrollBar>
Expand Down Expand Up @@ -126,7 +127,7 @@ QgsProcessingAlgorithmDialogBase::QgsProcessingAlgorithmDialogBase( QWidget *par
void QgsProcessingAlgorithmDialogBase::setAlgorithm( QgsProcessingAlgorithm *algorithm )
{
mAlgorithm = algorithm;
setWindowTitle( mAlgorithm->displayName() );
setWindowTitle( QgsStringUtils::capitalize( mAlgorithm->displayName(), QgsStringUtils::TitleCase ) );

QString algHelp = formatHelp( algorithm );
if ( algHelp.isEmpty() )
Expand Down

0 comments on commit 861153d

Please sign in to comment.