Update dialoguesubview.cpp

That doesn't work on Windows. (Are and/or allowed in C++ in any other compiler?)
actorid
Alexander "Ace" Olofsson 11 years ago
parent 41fd94b160
commit 317f1e0b63

@ -1,4 +1,3 @@
#include "dialoguesubview.hpp"
#include <utility>
@ -122,7 +121,7 @@ void CSVWorld::DialogueDelegateDispatcherProxy::tableMimeDataDropped(const std::
{
QLineEdit* lineEdit = qobject_cast<QLineEdit*>(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);
}
}
}

Loading…
Cancel
Save