From ddf2f0b513c7031339fc80421d3fae047df21242 Mon Sep 17 00:00:00 2001 From: moerp Date: Mon, 24 May 2021 12:12:42 +0200 Subject: [PATCH] added comments --- sources/SQM-GUI-ng.pro.user | 7 +++---- sources/sqmtablemodel.cpp | 1 + 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sources/SQM-GUI-ng.pro.user b/sources/SQM-GUI-ng.pro.user index 8153fb9..dfc8e03 100644 --- a/sources/SQM-GUI-ng.pro.user +++ b/sources/SQM-GUI-ng.pro.user @@ -1,6 +1,6 @@ - + EnvironmentId @@ -294,9 +294,8 @@ 2 - SQM-GUI-ng2 - Qt4ProjectManager.Qt4RunConfiguration:C:/Users/matth/Documents/Workspace/MPI/SQM-GUI-ng/SQM-GUI-ng.pro - C:/Users/matth/Documents/Workspace/MPI/SQM-GUI-ng/SQM-GUI-ng.pro + Qt4ProjectManager.Qt4RunConfiguration:C:/Users/matth/Documents/Workspace/MPI/SQM-GUI-ng/sources/SQM-GUI-ng.pro + C:/Users/matth/Documents/Workspace/MPI/SQM-GUI-ng/sources/SQM-GUI-ng.pro false true true diff --git a/sources/sqmtablemodel.cpp b/sources/sqmtablemodel.cpp index 7218701..f05ad01 100644 --- a/sources/sqmtablemodel.cpp +++ b/sources/sqmtablemodel.cpp @@ -23,6 +23,7 @@ void SQMTableModel::SetStartValues(int pBase, int pExp, int pMod) { } +// Convert int to binary std::string SQMTableModel::IntToBinary(int n) { string bin; int mask = 1;