mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 10:55:32 +08:00
Some fixes of status message view
* push_front as default (in most cases we have "latest first" * as follow up of t270 use CListModelTimestampObjects
This commit is contained in:
@@ -13,8 +13,7 @@
|
||||
#define BLACKGUI_STATUSMESSAGELISTMODEL_H
|
||||
|
||||
#include "blackgui/blackguiexport.h"
|
||||
#include "blackgui/models/listmodelbase.h"
|
||||
#include "blackmisc/statusmessage.h"
|
||||
#include "blackgui/models/listmodeltimestampobjects.h"
|
||||
#include "blackmisc/statusmessagelist.h"
|
||||
|
||||
class QObject;
|
||||
@@ -24,9 +23,10 @@ namespace BlackGui
|
||||
namespace Models
|
||||
{
|
||||
/*!
|
||||
* Server list model
|
||||
* Status message list model
|
||||
*/
|
||||
class BLACKGUI_EXPORT CStatusMessageListModel : public CListModelBase<BlackMisc::CStatusMessage, BlackMisc::CStatusMessageList, true>
|
||||
class BLACKGUI_EXPORT CStatusMessageListModel :
|
||||
public CListModelTimestampObjects<BlackMisc::CStatusMessage, BlackMisc::CStatusMessageList, true>
|
||||
{
|
||||
public:
|
||||
//! Mode
|
||||
|
||||
Reference in New Issue
Block a user