mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-03 02:09:41 +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);
|
||||
return data != nullptr
|
||||
&& (data->holdsType(CSMWorld::UniversalId::Type_Topic)
|
||||
|| data->holdsType(CSMWorld::UniversalId::Type_Journal));
|
||||
&& (data->holdsType(CSMWorld::UniversalId::Type_Topic) || data->holdsType(CSMWorld::UniversalId::Type_Journal));
|
||||
}
|
||||
|
||||
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)
|
||||
{
|
||||
if (InfoCreator* creator = dynamic_cast<InfoCreator*> (mCreator))
|
||||
if (InfoCreator* creator = dynamic_cast<InfoCreator*>(mCreator))
|
||||
{
|
||||
creator->reset();
|
||||
creator->setText(id);
|
||||
|
|
Loading…
Reference in a new issue