Code/Editor

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-08-20 17:53:14 -07:00
parent fb75e35700
commit eaefc580d6
44 changed files with 17 additions and 163 deletions
-1
View File
@@ -71,7 +71,6 @@ private:
ColumnGroupHeaderView* m_header;
ColumnGroupProxyModel* m_groupModel;
QSet<QString> m_openNodes;
bool m_showGroups;
};
#endif // COLUMNGROUPTREEVIEW_H
-1
View File
@@ -178,7 +178,6 @@ public:
//////////////////////////////////////////////////////////////////////////
void GetSubImage(int x1, int y1, int width, int height, TImage<T>& img) const
{
int size = width * height;
img.Allocate(width, height);
for (int y = 0; y < height; y++)
{
+1 -1
View File
@@ -99,7 +99,7 @@ bool CImageASC::Load(const QString& fileName, CFloatImage& image)
// Break all of the values in the file apart into tokens.
char* nextToken = nullptr;
[[maybe_unused]] char* nextToken = nullptr;
token = azstrtok(str, 0, seps, &nextToken);
// ncols = grid width
-2
View File
@@ -76,8 +76,6 @@ static int numused;
const char* id87 = "GIF87a";
const char* id89 = "GIF89a";
static int log2 (int);
/* Fetch the next code from the raster data stream. The codes can be
* any length from 3 to 12 bits, packed into 8-bit bytes, so we have to
* maintain our location in the Raster array as a BIT Offset. We compute
+1 -1
View File
@@ -145,7 +145,7 @@ bool CImageUtil::LoadPGM(const QString& fileName, CImageEx& image)
char* str = new char[fileSize];
fread(str, fileSize, 1, file);
char* nextToken = nullptr;
[[maybe_unused]] char* nextToken = nullptr;
token = azstrtok(str, 0, seps, &nextToken);
while (token != nullptr && token[0] == '#')