Changeset 7a39458d16 in tspsg for src
- Timestamp:
- Sep 21, 2012, 11:22:42 PM (12 years ago)
- Branches:
- appveyor, imgbot, master, readme
- Children:
- 07e43cf61a
- Parents:
- 19d4eac43b
- git-author:
- Oleksii Serdiuk <contacts@…> (09/21/12 23:22:42)
- git-committer:
- Oleksii Serdiuk <contacts@…> (09/21/12 23:27:33)
- Location:
- src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/3rdparty/qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.cpp
r19d4eac43b r7a39458d16 1807 1807 window \a flags. 1808 1808 */ 1809 QtToolBarDialog::QtToolBarDialog(QWidget *parent, Qt::W Flags flags)1809 QtToolBarDialog::QtToolBarDialog(QWidget *parent, Qt::WindowFlags flags) 1810 1810 : QDialog(parent, flags) 1811 1811 { -
src/3rdparty/qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.h
r19d4eac43b r7a39458d16 115 115 public: 116 116 117 QtToolBarDialog(QWidget *parent = 0, Qt::W Flags flags = 0);117 QtToolBarDialog(QWidget *parent = 0, Qt::WindowFlags flags = 0); 118 118 ~QtToolBarDialog(); 119 119 -
src/mainwindow.cpp
r19d4eac43b r7a39458d16 307 307 QString format = settings->value("Output/GraphImageFormat", DEF_GRAPH_IMAGE_FORMAT).toString(); 308 308 #if !defined(NOSVG) 309 if (!QImageWriter::supportedImageFormats().contains(format.to Ascii()) && (format != "svg")) {309 if (!QImageWriter::supportedImageFormats().contains(format.toLatin1()) && (format != "svg")) { 310 310 #else // NOSVG 311 if (!QImageWriter::supportedImageFormats().contains(format.to Ascii())) {311 if (!QImageWriter::supportedImageFormats().contains(format.toLatin1())) { 312 312 #endif // NOSVG 313 313 format = DEF_GRAPH_IMAGE_FORMAT; … … 1317 1317 QImageWriter pic; 1318 1318 pic.setDevice(&buf); 1319 pic.setFormat(format.to Ascii());1319 pic.setFormat(format.toLatin1()); 1320 1320 if (pic.supportsOption(QImageIOHandler::Description)) { 1321 1321 pic.setText("Title", "Solution Graph");
Note: See TracChangeset
for help on using the changeset viewer.