From 33283610fbe3a48114fb0d05a2a2e0273e9fd8b7 Mon Sep 17 00:00:00 2001 From: Cristian Tibirna Date: Wed, 23 Nov 2011 00:07:44 -0500 Subject: [PATCH] fix a compiler warning --- src/mainimpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainimpl.cpp b/src/mainimpl.cpp index e4c97cb..4286a43 100644 --- a/src/mainimpl.cpp +++ b/src/mainimpl.cpp @@ -796,7 +796,7 @@ bool MainImpl::event(QEvent* e) { SCRef data = de->myData(); bool ret = true; - switch (e->type()) { + switch ((EventType)e->type()) { case ERROR_EV: { QApplication::setOverrideCursor(QCursor(Qt::ArrowCursor)); EM_PROCESS_EVENTS; -- 2.11.4.GIT