mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 10:15:38 +08:00
Style
This commit is contained in:
committed by
Mat Sutcliffe
parent
d1822b6829
commit
17f67d6106
@@ -237,11 +237,11 @@ namespace BlackGui
|
||||
if (container.size() > asyncThreshold && sort)
|
||||
{
|
||||
// larger container with sorting
|
||||
updateAsync(container, sort);
|
||||
this->updateAsync(container, sort);
|
||||
}
|
||||
else
|
||||
{
|
||||
update(container, sort);
|
||||
this->update(container, sort);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -10,18 +10,18 @@
|
||||
#include "listmodeldbobjects.h"
|
||||
#include "allmodelcontainers.h"
|
||||
#include "blackmisc/db/datastoreobjectlist.h"
|
||||
#include "blackmisc/simulation/aircraftmodel.h"
|
||||
#include "blackmisc/simulation/aircraftmodellist.h"
|
||||
#include "blackmisc/simulation/distributor.h"
|
||||
#include "blackmisc/simulation/aircraftmodel.h"
|
||||
#include "blackmisc/simulation/distributorlist.h"
|
||||
#include "blackmisc/aviation/aircrafticaocode.h"
|
||||
#include "blackmisc/simulation/distributor.h"
|
||||
#include "blackmisc/aviation/aircrafticaocodelist.h"
|
||||
#include "blackmisc/aviation/airlineicaocode.h"
|
||||
#include "blackmisc/aviation/aircrafticaocode.h"
|
||||
#include "blackmisc/aviation/airlineicaocodelist.h"
|
||||
#include "blackmisc/aviation/livery.h"
|
||||
#include "blackmisc/aviation/airlineicaocode.h"
|
||||
#include "blackmisc/aviation/liverylist.h"
|
||||
#include "blackmisc/country.h"
|
||||
#include "blackmisc/aviation/livery.h"
|
||||
#include "blackmisc/countrylist.h"
|
||||
#include "blackmisc/country.h"
|
||||
#include "blackmisc/orderable.h"
|
||||
|
||||
#include <QBrush>
|
||||
|
||||
@@ -23,8 +23,8 @@ namespace BlackGui
|
||||
CStatusMessageView::CStatusMessageView(QWidget *parent) : CViewBase(parent)
|
||||
{
|
||||
m_menus |= MenuClear;
|
||||
this->menuRemoveItems(MenuRefresh | MenuBackend | MenuToggleSelectionMode);
|
||||
m_acceptRowSelection = true;
|
||||
this->menuRemoveItems(MenuRefresh | MenuBackend | MenuToggleSelectionMode);
|
||||
this->standardInit(new CStatusMessageListModel(this));
|
||||
}
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ namespace BlackGui
|
||||
void keepLatest(int desiredSize);
|
||||
|
||||
//! Filter dialog if any
|
||||
BlackGui::Filters::CStatusMessageFilterDialog *getFilterDialog() const;
|
||||
Filters::CStatusMessageFilterDialog *getFilterDialog() const;
|
||||
};
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace BlackMisc
|
||||
class BLACKMISC_EXPORT IDatastoreObject : public ITimestampBased
|
||||
{
|
||||
// since we use different keys all the compares, set, get are in the derived class
|
||||
// in general we can say, it was a bad decisio to use different key types
|
||||
// in general we can say, it was a bad decision to use different key types
|
||||
// IndexDbIntegerKey = CPropertyIndex::GlobalIndexIDatastore for future usage
|
||||
|
||||
public:
|
||||
|
||||
@@ -243,7 +243,7 @@ namespace BlackMisc
|
||||
//! Removes an element at the end of the sequence.
|
||||
void pop_back() { Q_ASSERT(!empty()); m_impl.pop_back(); }
|
||||
|
||||
//! Removes an element at the end of the sequence.
|
||||
//! Removes an element at the front of the sequence.
|
||||
void pop_front() { Q_ASSERT(!empty()); erase(begin()); }
|
||||
|
||||
//! Remove the element pointed to by the given iterator.
|
||||
|
||||
Reference in New Issue
Block a user