Skip to content
Permalink
Browse files

[processing] Title case for algorithm dialog titles

  • Loading branch information
nyalldawson committed May 15, 2018
1 parent d864cd6 commit 861153dff4c35176f47ddf129d47d173d4b7d42e
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/gui/processing/qgsprocessingalgorithmdialogbase.cpp
@@ -22,6 +22,7 @@
#include "processing/qgsprocessingprovider.h"
#include "qgstaskmanager.h"
#include "processing/qgsprocessingalgrunnertask.h"
#include "qgsstringutils.h"
#include <QToolButton>
#include <QDesktopServices>
#include <QScrollBar>
@@ -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() )

0 comments on commit 861153d

Please sign in to comment.
You can’t perform that action at this time.