From 317f1e0b63afca99acc1d1442c63db47719f17bb Mon Sep 17 00:00:00 2001 From: "Alexander \"Ace\" Olofsson" Date: Fri, 21 Mar 2014 13:44:01 +0100 Subject: [PATCH] Update dialoguesubview.cpp That doesn't work on Windows. (Are and/or allowed in C++ in any other compiler?) --- apps/opencs/view/world/dialoguesubview.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/opencs/view/world/dialoguesubview.cpp b/apps/opencs/view/world/dialoguesubview.cpp index 3bd09bb50c..abdc331039 100644 --- a/apps/opencs/view/world/dialoguesubview.cpp +++ b/apps/opencs/view/world/dialoguesubview.cpp @@ -1,4 +1,3 @@ - #include "dialoguesubview.hpp" #include @@ -122,7 +121,7 @@ void CSVWorld::DialogueDelegateDispatcherProxy::tableMimeDataDropped(const std:: { QLineEdit* lineEdit = qobject_cast(mEditor); { - if (!lineEdit or !mIndexWrapper.get()) + if (!lineEdit || !mIndexWrapper.get()) { return; } @@ -687,4 +686,4 @@ void CSVWorld::DialogueSubView::viewRecord() if (params.first.getType()!=CSMWorld::UniversalId::Type_None) emit focusId (params.first, params.second); } -} \ No newline at end of file +}