Changeset 1028 for trunk


Ignore:
Timestamp:
May 6, 2009, 11:31:23 AM (15 years ago)
Author:
garnier
Message:

fix warning compilation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/visualization/OpenGL/src/G4OpenGLQtViewer.cc

    r976 r1028  
    13111311  }
    13121312#if QT_VERSION < 0x040000
    1313   fPrintFilename += "." + selectedFormat->ascii();
     1313  fPrintFilename += "." + std::string(selectedFormat->ascii());
    13141314  QString format = selectedFormat->lower();
    13151315#else
     
    16671667
    16681668#if QT_VERSION < 0x040000
    1669 #ifdef Q_WS_MAC || Q_WS_X11
     1669#if defined(Q_WS_MAC) || defined(Q_WS_X11)
    16701670  QPrinter printer;
    16711671  //  printer.setPageSize(pageSize);
     
    16901690#else
    16911691  G4cerr << "This fonction is only supported on Mac OsX or X11 with Qt3. Full platform supported with Qt4" << G4endl;
     1692  // FIXME
     1693  // L.Garnier 6 May 2009 : Only to fix compilation warnings
     1694  if (aFilename.empty()) {
     1695    aInColor = 0;
     1696    aImage = 0;
     1697  }
     1698  // END_OF FIXME
    16921699#endif
    16931700#else
Note: See TracChangeset for help on using the changeset viewer.