From 990ab9c76b017c0433c3243fe525dfe64aff2382 Mon Sep 17 00:00:00 2001 From: lethosor Date: Thu, 8 Jan 2015 23:01:14 -0500 Subject: [PATCH] Typecast nullptr in ListColumn::getFirstSelectedElem() --- plugins/uicommon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/uicommon.h b/plugins/uicommon.h index 82df61d61..c725e52d6 100644 --- a/plugins/uicommon.h +++ b/plugins/uicommon.h @@ -719,7 +719,7 @@ public: { vector results = getSelectedElems(true); if (results.size() == 0) - return nullptr; + return (T)nullptr; else return results[0]; }