mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-12 23:55:56 +01:00
2020-12-15 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdlogedit(1)'s 'Edit Log' dialog that could delay updating cart status indications when changing the logs owning service. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -1565,6 +1565,15 @@ void RDLogModel::emitDataChanged(int row)
|
||||
}
|
||||
|
||||
|
||||
void RDLogModel::emitAllDataChanged()
|
||||
{
|
||||
QModelIndex left=createIndex(0,0);
|
||||
QModelIndex right=createIndex(lineCount(),columnCount());
|
||||
|
||||
emit dataChanged(left,right);
|
||||
}
|
||||
|
||||
|
||||
QColor RDLogModel::backgroundColor(int line,RDLogLine *ll) const
|
||||
{
|
||||
return d_palette.color(QPalette::Base);
|
||||
|
||||
@@ -91,6 +91,7 @@ class RDLogModel : public QAbstractTableModel
|
||||
|
||||
protected:
|
||||
void emitDataChanged(int row);
|
||||
void emitAllDataChanged();
|
||||
virtual QColor backgroundColor(int line,RDLogLine *ll) const;
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user