Skip to content

Commit

Permalink
-Seems not all the changes made it across list time
Browse files Browse the repository at this point in the history
-Additional patch for ticket #923

git-svn-id: http://svn.osgeo.org/qgis/trunk@8402 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
ersts committed May 6, 2008
1 parent 8cd9b1c commit 01326bf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/app/qgsrasterlayerproperties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const char * const ident =
"$Id$";

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

QgsRasterLayerProperties::QgsRasterLayerProperties(QgsMapLayer *lyr, QWidget *parent, Qt::WFlags fl)
: QDialog(parent, fl),
Expand Down
5 changes: 3 additions & 2 deletions src/app/qgsrasterlayerproperties.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
/* $Id$ */
#ifndef QGSRASTERLAYERPROPERTIES_H
#define QGSRASTERLAYERPROPERTIES_H

#include "ui_qgsrasterlayerpropertiesbase.h"
#include "qgisgui.h"
class QgsMapLayer;
Expand Down Expand Up @@ -119,10 +120,10 @@ class QgsRasterLayerProperties : public QDialog, private Ui::QgsRasterLayerPrope
void refreshLegend(QString layerID, bool expandItem);


private:
private:
/** \brief A constant that signals property not used */
static const QString QSTRING_NOT_SET;

/** \brief Pointer to the raster layer that this property dilog changes the behaviour of. */
QgsRasterLayer * mRasterLayer;

Expand Down
2 changes: 1 addition & 1 deletion src/core/raster/qgsrasterlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ static const char *const mSupportedRasterFormats[] =


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

/**
Builds the list of file filter strings to later be used by
Expand Down

0 comments on commit 01326bf

Please sign in to comment.