mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-10 16:43:35 +02:00
2021-02-09 Fred Gleason <fredg@paravelsystems.com>
* Removed 'RD3CartDrag' dependency from rdairplay(1). * Removed 'RD3CartDrag' dependency from rdcartslots(1). * Removed 'RD3CartDrag' dependency from rdlogedit(1). * Removed 'RD3CartDrag' dependency from rdpanel(1). * Removed 'RD3CartDrag'. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
//
|
||||
//
|
||||
|
||||
#include <rd3cartdrag.h>
|
||||
#include <rdcartdrag.h>
|
||||
|
||||
#include "logtableview.h"
|
||||
#include "logmodel.h"
|
||||
@@ -52,13 +52,13 @@ LogTableView::LogTableView(QWidget *parent)
|
||||
|
||||
void LogTableView::dragEnterEvent(QDragEnterEvent *e)
|
||||
{
|
||||
e->accept(RD3CartDrag::canDecode(e));
|
||||
e->accept(RDCartDrag::canDecode(e));
|
||||
}
|
||||
|
||||
|
||||
void LogTableView::dragMoveEvent(QDragMoveEvent *e)
|
||||
{
|
||||
e->accept(RD3CartDrag::canDecode(e));
|
||||
e->accept(RDCartDrag::canDecode(e));
|
||||
}
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ void LogTableView::dropEvent(QDropEvent *e)
|
||||
int line=-1;
|
||||
int y_pos=e->pos().y();
|
||||
|
||||
if(RD3CartDrag::decode(e,&ll)) {
|
||||
if(RDCartDrag::decode(e,&ll)) {
|
||||
line=rowAt(y_pos);
|
||||
emit cartDropped(line,&ll);
|
||||
}
|
||||
|
Reference in New Issue
Block a user