src/configDialog.cpp

changeset 503
bebe09014dd6
parent 498
791c831c8020
child 504
6a1fa662bfc1
--- a/src/configDialog.cpp	Wed Oct 16 16:05:51 2013 +0300
+++ b/src/configDialog.cpp	Wed Oct 16 16:40:42 2013 +0300
@@ -432,7 +432,7 @@
 		return;
 
 	QListWidgetItem* item = ui->quickColorList->selectedItems() [0];
-	quickColors.erase (getItemRow (item, quickColorItems));
+	quickColors.removeAt (getItemRow (item, quickColorItems));
 	updateQuickColorList();
 }
 

mercurial