2021-04-17 Fred Gleason <fredg@paravelsystems.com>

* Escaped all SQL identifiers in 'lib/'.
	* Replaced " with ' delimiters in all SQL literal strings in 'lib/'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-04-17 19:47:05 -04:00
parent 1b7dd5cd7d
commit 0fd02861f9
104 changed files with 4807 additions and 5120 deletions

View File

@@ -2,7 +2,7 @@
//
// ComboBox for selecting images
//
// (C) Copyright 2020 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2020-2021 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@@ -21,11 +21,10 @@
#include "rdimagepickerbox.h"
RDImagePickerBox::RDImagePickerBox(const QString &tbl_name,
const QString &cat_id_col,
const QString &img_id_col,QWidget *parent)
const QString &cat_id_col,QWidget *parent)
: QComboBox(parent)
{
c_model=new RDImagePickerModel(tbl_name,cat_id_col,img_id_col,this);
c_model=new RDImagePickerModel(tbl_name,cat_id_col,this);
setModel(c_model);
setCurrentIndex(0);