diff --git a/imageinfo.cpp b/imageinfo.cpp index fb3c587..0088205 100644 --- a/imageinfo.cpp +++ b/imageinfo.cpp @@ -51,14 +51,6 @@ FITSRecord::FITSRecord(const LibXISF::Property &property) xisf = true; } -QByteArray FITSRecord::valueToByteArray() const -{ - if(value.type() == QVariant::Bool) - return value.toBool() ? "T" : "F"; - else - return value.toString().toLatin1(); -} - ImageInfo::ImageInfo(QWidget *parent) : QTreeWidget(parent) { setColumnCount(3); diff --git a/imageinfo.h b/imageinfo.h index 2a194f7..7d1ac36 100644 --- a/imageinfo.h +++ b/imageinfo.h @@ -19,7 +19,6 @@ struct FITSRecord FITSRecord(const QByteArray &key, const QVariant &value, const QByteArray &comment); FITSRecord(const LibXISF::FITSKeyword &record); FITSRecord(const LibXISF::Property &property); - QByteArray valueToByteArray() const; }; class SkyPoint