ui: Scroll table to newest error and fixed error number column width

This commit is contained in:
Eberhard Graether
2016-10-25 17:47:38 +02:00
parent 15bd89e0ed
commit 2e10c65491
8 changed files with 86 additions and 67 deletions
@@ -3,13 +3,13 @@
#include "utility/messaging/Message.h"
#include "data/StorageTypes.h"
#include "data/ErrorInfo.h"
class MessageNewErrors
: public Message<MessageNewErrors>
{
public:
MessageNewErrors(const std::vector<StorageError>& errors)
MessageNewErrors(const std::vector<ErrorInfo>& errors)
: errors(errors)
{
setSendAsTask(false);
@@ -25,7 +25,7 @@ public:
os << errors.size() << " errors";
}
const std::vector<StorageError> errors;
const std::vector<ErrorInfo> errors;
};
#endif // MESSAGE_NEW_ERRORS_H