[rkward] rkward/rbackend: hopefully fix builds if Qt < 5.8

m.eik michalke null at kde.org
Mon Nov 12 11:26:37 GMT 2018


Git commit f8d749e07437734d8adfbb141cd027e721d854fe by m.eik michalke.
Committed on 12/11/2018 at 11:25.
Pushed by meikm into branch 'master'.

hopefully fix builds if Qt < 5.8

M  +2    -0    rkward/rbackend/rkrsupport.cpp

https://commits.kde.org/rkward/f8d749e07437734d8adfbb141cd027e721d854fe

diff --git a/rkward/rbackend/rkrsupport.cpp b/rkward/rbackend/rkrsupport.cpp
index ef26d228..ee039454 100644
--- a/rkward/rbackend/rkrsupport.cpp
+++ b/rkward/rbackend/rkrsupport.cpp
@@ -238,7 +238,9 @@ RData *RKRSupport::SEXPToRData (SEXP from_exp) {
 				R_ClearExternalPtr (from_exp);
 				break;
 			}
+#if (QT_VERSION >= QT_VERSION_CHECK(5,8,0))
 		Q_FALLTHROUGH();
+#endif
 		//case STRSXP: // intentional fallthrough, conversion to stringlist is the default handling
 		default:
 			data->setData (SEXPToStringList (from_exp));



More information about the rkward-tracker mailing list