1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 21:23:52 +00:00

Update dialoguesubview.cpp

That doesn't work on Windows. (Are and/or allowed in C++ in any other compiler?)
This commit is contained in:
Alexander "Ace" Olofsson 2014-03-21 13:44:01 +01:00
parent 41fd94b160
commit 317f1e0b63

View file

@ -1,4 +1,3 @@
#include "dialoguesubview.hpp" #include "dialoguesubview.hpp"
#include <utility> #include <utility>
@ -122,7 +121,7 @@ void CSVWorld::DialogueDelegateDispatcherProxy::tableMimeDataDropped(const std::
{ {
QLineEdit* lineEdit = qobject_cast<QLineEdit*>(mEditor); QLineEdit* lineEdit = qobject_cast<QLineEdit*>(mEditor);
{ {
if (!lineEdit or !mIndexWrapper.get()) if (!lineEdit || !mIndexWrapper.get())
{ {
return; return;
} }
@ -687,4 +686,4 @@ void CSVWorld::DialogueSubView::viewRecord()
if (params.first.getType()!=CSMWorld::UniversalId::Type_None) if (params.first.getType()!=CSMWorld::UniversalId::Type_None)
emit focusId (params.first, params.second); emit focusId (params.first, params.second);
} }
} }