From cde7b125558499b0cf38f342ff7c9391d67ee89b Mon Sep 17 00:00:00 2001 From: Andrea Odetti Date: Tue, 13 Feb 2018 08:42:47 +0000 Subject: [PATCH] Add ability to swap floppy disks. Signed-off-by: Andrea Odetti --- source/frontends/qapple/qapple.cpp | 5 +++++ source/frontends/qapple/qapple.h | 2 ++ source/frontends/qapple/qapple.ui | 9 +++++++++ 3 files changed, 16 insertions(+) diff --git a/source/frontends/qapple/qapple.cpp b/source/frontends/qapple/qapple.cpp index f8c5e7cc..3eaf02bd 100644 --- a/source/frontends/qapple/qapple.cpp +++ b/source/frontends/qapple/qapple.cpp @@ -387,3 +387,8 @@ void QApple::on_actionScreenshot_triggered() } } } + +void QApple::on_actionSwap_disks_triggered() +{ + DiskDriveSwap(); +} diff --git a/source/frontends/qapple/qapple.h b/source/frontends/qapple/qapple.h index bee67405..643efd4b 100644 --- a/source/frontends/qapple/qapple.h +++ b/source/frontends/qapple/qapple.h @@ -55,6 +55,8 @@ private slots: void on_actionScreenshot_triggered(); + void on_actionSwap_disks_triggered(); + private: void stopTimer(); diff --git a/source/frontends/qapple/qapple.ui b/source/frontends/qapple/qapple.ui index 6849ff73..e304c344 100644 --- a/source/frontends/qapple/qapple.ui +++ b/source/frontends/qapple/qapple.ui @@ -71,6 +71,7 @@ + @@ -195,6 +196,14 @@ Shift+F12 + + + Swap &disks + + + F5 + +