summaryrefslogtreecommitdiff
path: root/map65/txtune.cpp
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-06-22 12:03:44 +0200
committerChristoph Berg <myon@debian.org>2026-06-22 12:03:44 +0200
commitd83a420f0517d7fc47aeb288a6a0cf4891784fcc (patch)
tree6d9c83527c56458a8360ba080bf5f4ca73d526dc /map65/txtune.cpp
parent4b089ae3f7e9e2d5662f718f663b26a4e8ee63ca (diff)
New upstream version 3.0.2+dfsgupstream/3.0.2+dfsg
Diffstat (limited to 'map65/txtune.cpp')
-rw-r--r--map65/txtune.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/map65/txtune.cpp b/map65/txtune.cpp
index b1d7fb71..4561cd23 100644
--- a/map65/txtune.cpp
+++ b/map65/txtune.cpp
@@ -1,11 +1,13 @@
#include "txtune.h"
#include "ui_txtune.h"
#include <QDebug>
+#include <QByteArray>
extern int txPower;
extern int iqAmp;
extern int iqPhase;
extern bool bTune;
+extern QByteArray g_TxTuneGeometry;
TxTune::TxTune(QWidget *parent) :
QDialog(parent),
@@ -114,3 +116,10 @@ void TxTune::on_pbTune_clicked()
ui->pbTune->setStyleSheet("");
}
}
+
+void TxTune::closeEvent(QCloseEvent *e)
+{
+ g_TxTuneGeometry = saveGeometry();
+ QWidget::closeEvent(e);
+}
+