mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-12 07:35:55 +01:00
2021-02-24 Fred Gleason <fredg@paravelsystems.com>
* Updated build system to use Qt5 instead of Qt4. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -33,7 +33,7 @@ LogTableView::LogTableView(QWidget *parent)
|
||||
|
||||
void LogTableView::dragEnterEvent(QDragEnterEvent *e)
|
||||
{
|
||||
if(RDCartDrag::canDecode(e)) {
|
||||
if(RDCartDrag::canDecode(e->mimeData())) {
|
||||
e->accept();
|
||||
}
|
||||
}
|
||||
@@ -41,7 +41,7 @@ void LogTableView::dragEnterEvent(QDragEnterEvent *e)
|
||||
|
||||
void LogTableView::dragMoveEvent(QDragMoveEvent *e)
|
||||
{
|
||||
if(RDCartDrag::canDecode(e)) {
|
||||
if(RDCartDrag::canDecode(e->mimeData())) {
|
||||
e->accept();
|
||||
}
|
||||
}
|
||||
@@ -53,7 +53,7 @@ void LogTableView::dropEvent(QDropEvent *e)
|
||||
int line=-1;
|
||||
int y_pos=e->pos().y();
|
||||
|
||||
if(RDCartDrag::decode(e,&ll)) {
|
||||
if(RDCartDrag::decode(e->mimeData(),&ll)) {
|
||||
line=rowAt(y_pos);
|
||||
emit cartDropped(line,&ll);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user