Commit f2a5f302 authored by John Bonn's avatar John Bonn
Browse files

Fixed conversion of integer to QString that was using incorrect cast operator. m04651

git-svn-id: http://subversion.wr.usgs.gov/repos/prog/isis3/trunk@7660 41f8697f-d340-4b68-9986-7bafba869bb8
parent 094181c1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -28,9 +28,9 @@ void IsisMain() {

  //Check for cases of too many bands
  if(bands >= (2 * cubeBands)) {
    QString msg = "Parameter bands [" + QString(bands) + "] "
    QString msg = "Parameter bands [" + QString::number(bands) + "] "
                  "exceeds maximum allowable size of ["
                  + QString((cubeBands * 2) - 1) + "] for cube ["
                  + QString::number((cubeBands * 2) - 1) + "] for cube ["
                  + icube->fileName() + "]";
    throw IException(IException::User, msg, _FILEINFO_);
  }
+1 −1
Original line number Diff line number Diff line
@@ -70,7 +70,7 @@ namespace Isis {
    if(labelType == DetachedLabel) return "Detached";
    if(labelType == ExternalLabel) return "External";

    QString msg = "Invalid label attachment type [" + QString(labelType) + "]";
    QString msg = "Invalid label attachment type [" + QString::number(labelType) + "]";
    throw IException(IException::Programmer, msg, _FILEINFO_);
  }

+1 −1
Original line number Diff line number Diff line
@@ -182,7 +182,7 @@ void IsisMain() {
      QString line = in.readLine();
      QStringList results = line.split(",");
      if (results.size() < 2) {
        QString msg = "Line " + QString(lineNumber) + " in the MEASURELIST does "
        QString msg = "Line " + QString::number(lineNumber) + " in the MEASURELIST does "
          "not contain a Point ID and a cube filename separated by a comma";
        throw IException(IException::User, msg, _FILEINFO_);
      }
+1 −1
Original line number Diff line number Diff line
@@ -485,7 +485,7 @@ void TranslateLabels(Pvl &pdsLab, Pvl &isis3VisEven, Pvl &isis3VisOdd,

  // color offset doesn't apply to BW mode (single band cubes)
  if(colorOffset && viseven && viseven->bandCount() == 1) {
    genericInstrument.push_back(PvlKeyword("ColorOffset", 0));
    genericInstrument.push_back(PvlKeyword("ColorOffset", QString::number(0)));
  }
  else {
    genericInstrument.push_back(PvlKeyword("ColorOffset", toString(colorOffset)));
+1 −1
Original line number Diff line number Diff line
@@ -155,7 +155,7 @@ void IsisMain() {
  // output values to reflect no correction.
  if(!ui.GetBoolean("AACORRECTION")) {
    gbl::useActiveAreaValue = 0;
    calgrp += PvlKeyword("ActiveAreaValue", 0);
    calgrp += PvlKeyword("ActiveAreaValue", QString::number(0));
    calgrp += PvlKeyword("ActiveAreaImage", "NoCorrection");
  }
  else {
Loading