mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-26 07:10:11 +01:00
2018-08-17 Fred Gleason <fredg@paravelsystems.com>
* Fixed problems with dragged carts setting the correct color when dropped on a sound panel button.
This commit is contained in:
@@ -34,10 +34,11 @@
|
||||
#include "../icons/rml5.xpm"
|
||||
#include "../icons/trashcan-16x16.xpm"
|
||||
|
||||
RDCartDrag::RDCartDrag(unsigned cartnum,const QPixmap *icon,QWidget *src)
|
||||
RDCartDrag::RDCartDrag(unsigned cartnum,const QPixmap *icon,const QColor &color,
|
||||
QWidget *src)
|
||||
: Q3StoredDrag(RDMIMETYPE_CART,src)
|
||||
{
|
||||
SetData(cartnum,QColor(),QString());
|
||||
SetData(cartnum,color,QString());
|
||||
if(icon==NULL) {
|
||||
RDCart *cart=new RDCart(cartnum);
|
||||
switch(cart->type()) {
|
||||
|
||||
Reference in New Issue
Block a user