cosmetic suggestions from GitHub Copilot

This commit is contained in:
Axel Kohlmeyer
2025-07-10 05:05:37 -04:00
parent fed5564520
commit 90ad9e44f1
2 changed files with 2 additions and 3 deletions

View File

@ -275,7 +275,6 @@ GeneralTab::GeneralTab(QSettings *_settings, LammpsWrapper *_lammps, QWidget *pa
QWidget(parent), settings(_settings), lammps(_lammps)
{
auto *layout = new QGridLayout;
;
auto *echo = new QCheckBox("Echo input to output buffer");
echo->setObjectName("echo");

View File

@ -33,8 +33,8 @@ public:
double get_bufferuse() const;
private:
enum PIPES { READ, WRITE, BUFSZ };
int m_pipe[BUFSZ];
enum PIPES { READ, WRITE, PIPE_COUNT };
int m_pipe[PIPE_COUNT];
int m_oldStdOut;
bool m_capturing;
std::string m_captured;