mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 17:00:05 +00:00
Refactor Qt types to avoid namespace conflict
This commit is contained in:
parent
78f57698f6
commit
e98bca9d5d
6 changed files with 12 additions and 13 deletions
|
|
@ -1,5 +1,5 @@
|
|||
#include <scwx/qt/model/alert_model.hpp>
|
||||
#include <scwx/qt/common/types.hpp>
|
||||
#include <scwx/qt/types/qt_types.hpp>
|
||||
#include <scwx/common/geographic.hpp>
|
||||
#include <scwx/util/logger.hpp>
|
||||
|
||||
|
|
@ -68,7 +68,7 @@ QVariant AlertModel::data(const QModelIndex& index, int role) const
|
|||
{
|
||||
if (index.isValid() && index.row() >= 0 &&
|
||||
index.row() < p->textEventKeys_.size() &&
|
||||
(role == Qt::DisplayRole || role == common::SortRole))
|
||||
(role == Qt::DisplayRole || role == types::SortRole))
|
||||
{
|
||||
const auto& textEventKey = p->textEventKeys_.at(index.row());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue