mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
https://dev.vatsim-germany.org/issues/648#note-5
This commit is contained in:
@@ -24,8 +24,6 @@ namespace BlackMisc
|
||||
*/
|
||||
class BLACKMISC_EXPORT IDatastoreObjectWithIntegerKey : public ITimestampBased
|
||||
{
|
||||
Q_INTERFACES(BlackMisc::ITimestampBased)
|
||||
|
||||
public:
|
||||
//! Property index
|
||||
enum ColumnIndex
|
||||
@@ -97,8 +95,6 @@ namespace BlackMisc
|
||||
*/
|
||||
class BLACKMISC_EXPORT IDatastoreObjectWithStringKey : public ITimestampBased
|
||||
{
|
||||
Q_INTERFACES(BlackMisc::ITimestampBased)
|
||||
|
||||
public:
|
||||
//! Property index
|
||||
enum ColumnIndex
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
//! Entity with timestamp
|
||||
//! Entity with order attribute (can be manually ordered in views)
|
||||
class BLACKMISC_EXPORT IOrderable
|
||||
{
|
||||
public:
|
||||
@@ -63,6 +63,4 @@ namespace BlackMisc
|
||||
};
|
||||
} // namespace
|
||||
|
||||
Q_DECLARE_INTERFACE(BlackMisc::IOrderable, "org.swift-project.blackmisc.iorderable")
|
||||
|
||||
#endif // guard
|
||||
|
||||
@@ -30,9 +30,6 @@ namespace BlackMisc
|
||||
public BlackMisc::IDatastoreObjectWithStringKey,
|
||||
public BlackMisc::IOrderable
|
||||
{
|
||||
Q_INTERFACES(BlackMisc::IDatastoreObjectWithStringKey)
|
||||
Q_INTERFACES(BlackMisc::IOrderable)
|
||||
|
||||
public:
|
||||
//! Property indexes
|
||||
enum ColumnIndex
|
||||
|
||||
@@ -55,7 +55,8 @@ namespace BlackMisc
|
||||
BLACK_METAMEMBER(distributorsFsx),
|
||||
BLACK_METAMEMBER(distributorsP3d),
|
||||
BLACK_METAMEMBER(distributorsFs9),
|
||||
BLACK_METAMEMBER(distributorsXPlane)
|
||||
BLACK_METAMEMBER(distributorsXPlane),
|
||||
BLACK_METAMEMBER(lastUpdatedSimulator)
|
||||
);
|
||||
};
|
||||
} //namespace
|
||||
|
||||
@@ -117,6 +117,4 @@ namespace BlackMisc
|
||||
};
|
||||
} // namespace
|
||||
|
||||
Q_DECLARE_INTERFACE(BlackMisc::ITimestampBased, "org.swift-project.blackmisc.itimestampbased")
|
||||
|
||||
#endif // guard
|
||||
|
||||
@@ -492,7 +492,7 @@ namespace BlackMisc
|
||||
emit valuesWantToCache({ { { element.m_key, value } }, timestamp, save });
|
||||
}
|
||||
// All good info
|
||||
status = CStatusMessage(this, CStatusMessage::SeverityInfo, "Set values in " + this->getKey(element));
|
||||
status = CStatusMessage(this, CStatusMessage::SeverityInfo, "Set values in " + element.m_key);
|
||||
}
|
||||
return status;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user