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:
Fred Gleason
2021-02-24 16:12:22 -05:00
parent 5131b1d5fe
commit 57abeada3c
130 changed files with 481 additions and 441 deletions

View File

@@ -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);
}