mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-11 17:13:47 +02:00
2022-02-28 Fred Gleason <fredg@paravelsystems.com>
* Updated 'RDCartDialog' to eliminate superfluous SQL filter updates. * Updated 'RDCutDialog' to eliminate superfluous SQL filter updates. * Updated rdlibrary(1) to eliminate superfluous SQL filter updates. * Updated rdlogedit(1) to eliminate superfluous SQL filter updates. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -88,10 +88,12 @@ class RDCartFilter : public RDWidget
|
||||
|
||||
protected:
|
||||
void resizeEvent(QResizeEvent *e);
|
||||
void showEvent(QShowEvent *e);
|
||||
|
||||
private:
|
||||
void LoadUserGroups();
|
||||
void LoadServiceGroups();
|
||||
void UpdateModel();
|
||||
RDLibraryModel *d_cart_model;
|
||||
RDGroupListModel *d_group_model;
|
||||
QLineEdit *d_filter_edit;
|
||||
@@ -124,6 +126,9 @@ class RDCartFilter : public RDWidget
|
||||
QString d_default_group;
|
||||
bool d_user_is_admin;
|
||||
QString d_service;
|
||||
|
||||
QString d_model_filter_sql;
|
||||
int d_model_cart_limit;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user