Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[processing] Title case for algorithm dialog titles
- Loading branch information
Showing
with
2 additions
and
1 deletion.
-
+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() ) |
|
|