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:
parent
41fd94b160
commit
317f1e0b63
1 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue