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

@@ -18,6 +18,7 @@
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
//
#include <QDrag>
#include <QMouseEvent>
#include <QPainter>
@@ -838,7 +839,7 @@ void LogLineBox::paintEvent(QPaintEvent *e)
void LogLineBox::dragEnterEvent(QDragEnterEvent *e)
{
if(RDCartDrag::canDecode(e)&&
if(RDCartDrag::canDecode(e->mimeData())&&
((line_status==RDLogLine::Scheduled)||
(line_status==RDLogLine::Paused))) {
e->accept();
@@ -850,7 +851,7 @@ void LogLineBox::dropEvent(QDropEvent *e)
{
RDLogLine ll;
if(RDCartDrag::decode(e,&ll)) {
if(RDCartDrag::decode(e->mimeData(),&ll)) {
emit cartDropped(log_line,&ll);
}
}