mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-20 15:02:27 +02:00
2021-04-27 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in 'RDLogModel' that threw SQL errors. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
890b488822
commit
05c35a208c
@ -21629,3 +21629,5 @@
|
||||
* Added a note on Apache configuration on Ubuntu to 'INSTALL'.
|
||||
2021-04-27 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a regression in 'RDLog::create()' that threw SQL errors.
|
||||
2021-04-27 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a regression in 'RDLogModel' that threw SQL errors.
|
||||
|
@ -1019,7 +1019,10 @@ int RDLogModel::LoadLines(const QString &logname,int id_offset,bool track_ptrs)
|
||||
// Load the group color table
|
||||
//
|
||||
std::map<QString,QColor> group_colors;
|
||||
sql="select NAME,COLOR from GROUPS";
|
||||
sql=QString("select ")+
|
||||
"`NAME`,"+ // 00
|
||||
"`COLOR` "+ // 01
|
||||
"from `GROUPS`";
|
||||
q=new RDSqlQuery(sql);
|
||||
while(q->next()) {
|
||||
group_colors[q->value(0).toString()]=QColor(q->value(1).toString());
|
||||
|
Loading…
x
Reference in New Issue
Block a user