Skip to content

Commit 4cf77c3

Browse files
author
ersts
committedMay 6, 2008
-Seems not all the changes made it across list time
-Additional patch for ticket #923 git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8402 c8812cc2-4d05-0410-92ff-de0c093fc19c

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed
 

‎src/app/qgsrasterlayerproperties.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const char * const ident =
5050
"$Id$";
5151

5252
// Constant that signals property not used.
53-
const QString QgsRasterLayerProperties::QSTRING_NOT_SET = "Not Set";
53+
const QString QgsRasterLayerProperties::QSTRING_NOT_SET = QT_TR_NOOP("Not Set");
5454

5555
QgsRasterLayerProperties::QgsRasterLayerProperties(QgsMapLayer *lyr, QWidget *parent, Qt::WFlags fl)
5656
: QDialog(parent, fl),

‎src/app/qgsrasterlayerproperties.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
/* $Id$ */
2020
#ifndef QGSRASTERLAYERPROPERTIES_H
2121
#define QGSRASTERLAYERPROPERTIES_H
22+
2223
#include "ui_qgsrasterlayerpropertiesbase.h"
2324
#include "qgisgui.h"
2425
class QgsMapLayer;
@@ -119,10 +120,10 @@ class QgsRasterLayerProperties : public QDialog, private Ui::QgsRasterLayerPrope
119120
void refreshLegend(QString layerID, bool expandItem);
120121

121122

122-
private:
123+
private:
123124
/** \brief A constant that signals property not used */
124125
static const QString QSTRING_NOT_SET;
125-
126+
126127
/** \brief Pointer to the raster layer that this property dilog changes the behaviour of. */
127128
QgsRasterLayer * mRasterLayer;
128129

‎src/core/raster/qgsrasterlayer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ static const char *const mSupportedRasterFormats[] =
106106

107107

108108
// Constant that signals property not used.
109-
const QString QgsRasterLayer::QSTRING_NOT_SET = "Not Set";
109+
const QString QgsRasterLayer::QSTRING_NOT_SET = QT_TR_NOOP("Not Set");
110110

111111
/**
112112
Builds the list of file filter strings to later be used by

0 commit comments

Comments
 (0)
Please sign in to comment.