mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-03 13:09:40 +00:00
clang-format
This commit is contained in:
parent
7fce4bc8c4
commit
50726636ba
2 changed files with 2 additions and 3 deletions
|
@ -22,8 +22,7 @@ bool CSVWorld::DragDropUtils::isTopicOrJournal(const QDropEvent& event, CSMWorld
|
||||||
{
|
{
|
||||||
const CSMWorld::TableMimeData* data = getTableMimeData(event);
|
const CSMWorld::TableMimeData* data = getTableMimeData(event);
|
||||||
return data != nullptr
|
return data != nullptr
|
||||||
&& (data->holdsType(CSMWorld::UniversalId::Type_Topic)
|
&& (data->holdsType(CSMWorld::UniversalId::Type_Topic) || data->holdsType(CSMWorld::UniversalId::Type_Journal));
|
||||||
|| data->holdsType(CSMWorld::UniversalId::Type_Journal));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CSVWorld::DragDropUtils::isInfo(const QDropEvent& event, CSMWorld::ColumnBase::Display type)
|
bool CSVWorld::DragDropUtils::isInfo(const QDropEvent& event, CSMWorld::ColumnBase::Display type)
|
||||||
|
|
|
@ -260,7 +260,7 @@ void CSVWorld::TableBottomBox::createRequest()
|
||||||
|
|
||||||
void CSVWorld::TableBottomBox::createRecordsDirectlyRequest(const std::string& id)
|
void CSVWorld::TableBottomBox::createRecordsDirectlyRequest(const std::string& id)
|
||||||
{
|
{
|
||||||
if (InfoCreator* creator = dynamic_cast<InfoCreator*> (mCreator))
|
if (InfoCreator* creator = dynamic_cast<InfoCreator*>(mCreator))
|
||||||
{
|
{
|
||||||
creator->reset();
|
creator->reset();
|
||||||
creator->setText(id);
|
creator->setText(id);
|
||||||
|
|
Loading…
Reference in a new issue