diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2012-02-12 17:45:18 -0600 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2012-02-18 09:12:29 -0200 |
commit | d2e2932320d8598a528a3f8b10c8e3f4571ee0e1 (patch) | |
tree | eabf4ac79df81756531ccf468a71e28ad80c7a11 /system/aqemu/patches/0001-Fixed-bug-3392763.patch | |
parent | 3a39822712240010fd4bb25ccbf58c06117cad73 (diff) |
system/aqemu: Add some patches from git (including qemu-1.0 support)
Signed-off-by: Leo Midha <netrixtardis@stealth3.com>
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/aqemu/patches/0001-Fixed-bug-3392763.patch')
-rw-r--r-- | system/aqemu/patches/0001-Fixed-bug-3392763.patch | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/system/aqemu/patches/0001-Fixed-bug-3392763.patch b/system/aqemu/patches/0001-Fixed-bug-3392763.patch new file mode 100644 index 0000000000000..c932c279cdd00 --- /dev/null +++ b/system/aqemu/patches/0001-Fixed-bug-3392763.patch @@ -0,0 +1,55 @@ +From 182975dadb7ac9fc8e851ed638dd6998002ff536 Mon Sep 17 00:00:00 2001 +From: Andrey Rijov <rdron@users.sourceforge.net> +Date: Thu, 18 Aug 2011 22:03:13 +0400 +Subject: [PATCH 1/7] Fixed bug #3392763 + +--- + Device_Manager_Widget.cpp | 21 ++++++++++++++++++--- + 1 files changed, 18 insertions(+), 3 deletions(-) + +diff --git a/Device_Manager_Widget.cpp b/Device_Manager_Widget.cpp +index 7288baf..671930a 100644 +--- a/Device_Manager_Widget.cpp ++++ b/Device_Manager_Widget.cpp +@@ -981,9 +981,10 @@ void Device_Manager_Widget::on_actionDelete_triggered() + { + if( ui.Devices_List->currentItem()->data(512).toString() == "device" + QString::number(fx) ) + { +- finded = true; +- + Storage_Devices.removeAt( fx ); ++ ui.Devices_List->takeItem( ui.Devices_List->currentRow() ); ++ finded = true; ++ break; + } + } + +@@ -993,10 +994,24 @@ void Device_Manager_Widget::on_actionDelete_triggered() + "Incorrect Device!" ); + return; + } ++ else ++ { ++ // Rename items ++ for( int ix = 0, count = 0; ix < ui.Devices_List->count(); ++ix ) ++ { ++ if( ui.Devices_List->item(ix)->data(512).toString().contains("device") ) ++ { ++ ui.Devices_List->item(ix)->setData( 512, QString("device%1").arg(count) ); ++ ++count; ++ } ++ } ++ ++ emit Device_Changet(); ++ return; ++ } + } + + ui.Devices_List->takeItem( ui.Devices_List->currentRow() ); +- + emit Device_Changet(); + } + +-- +1.7.8.3 + |