Add ability to swap floppy disks.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
Andrea Odetti 2018-02-13 08:42:47 +00:00
parent ba8221d3ee
commit cde7b12555
3 changed files with 16 additions and 0 deletions

View file

@ -387,3 +387,8 @@ void QApple::on_actionScreenshot_triggered()
} }
} }
} }
void QApple::on_actionSwap_disks_triggered()
{
DiskDriveSwap();
}

View file

@ -55,6 +55,8 @@ private slots:
void on_actionScreenshot_triggered(); void on_actionScreenshot_triggered();
void on_actionSwap_disks_triggered();
private: private:
void stopTimer(); void stopTimer();

View file

@ -71,6 +71,7 @@
</property> </property>
<addaction name="actionLoad_state"/> <addaction name="actionLoad_state"/>
<addaction name="actionSave_state"/> <addaction name="actionSave_state"/>
<addaction name="actionSwap_disks"/>
</widget> </widget>
<addaction name="menuFile"/> <addaction name="menuFile"/>
<addaction name="menuSystem"/> <addaction name="menuSystem"/>
@ -195,6 +196,14 @@
<string>Shift+F12</string> <string>Shift+F12</string>
</property> </property>
</action> </action>
<action name="actionSwap_disks">
<property name="text">
<string>Swap &amp;disks</string>
</property>
<property name="shortcut">
<string>F5</string>
</property>
</action>
</widget> </widget>
<layoutdefault spacing="6" margin="11"/> <layoutdefault spacing="6" margin="11"/>
<resources/> <resources/>