mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-23 18:02:29 -04:00
Have now switched (permanently, I hope) to Qt5.
Minor correction in plotter.cpp. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3506 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
8eea459960
commit
44e55a8a1c
@ -488,11 +488,11 @@ void CPlotter::setPalette(QString palette) //setPalette()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
FILE* fp;
|
FILE* fp=NULL;
|
||||||
if(palette=="Blue") fp=fopen("blue.dat","r");
|
if(palette=="Blue") fp=fopen("blue.dat","r");
|
||||||
if(palette=="AFMHot") fp=fopen("afmhot.dat","r");
|
if(palette=="AFMHot") fp=fopen("afmhot.dat","r");
|
||||||
if(palette=="Gray1") fp=fopen("gray1.dat","r");
|
if(palette=="Gray1") fp=fopen("gray1.dat","r");
|
||||||
if(int(fp)==0) {
|
if(fp==NULL) {
|
||||||
QMessageBox msgBox0;
|
QMessageBox msgBox0;
|
||||||
QString t="Error: Cannot find requested palette file.";
|
QString t="Error: Cannot find requested palette file.";
|
||||||
msgBox0.setText(t);
|
msgBox0.setText(t);
|
||||||
|
@ -11,11 +11,10 @@ CONFIG += thread
|
|||||||
|
|
||||||
TARGET = wsjtx
|
TARGET = wsjtx
|
||||||
DESTDIR = ../wsjtx_install
|
DESTDIR = ../wsjtx_install
|
||||||
#DESTDIR = ../qt5_install
|
|
||||||
VERSION = 1.1
|
VERSION = 1.1
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
DEFINES = QT4
|
#DEFINES = QT4
|
||||||
#DEFINES = QT5
|
DEFINES = QT5
|
||||||
|
|
||||||
win32 {
|
win32 {
|
||||||
DEFINES += WIN32
|
DEFINES += WIN32
|
||||||
|
Loading…
x
Reference in New Issue
Block a user