mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-28 06:32:32 +02:00
2021-02-05 Fred Gleason <fredg@paravelsystems.com>
* Added 'RDMacroCartModel' * Refactored the macro cart editor dialog in rdlibrary(1) to use the model-based API. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
e6eededea4
commit
301d192754
@ -207,12 +207,6 @@ void RDMacroCartModel::refresh(const QModelIndex &row,const QString &rml)
|
||||
|
||||
void RDMacroCartModel::save() const
|
||||
{
|
||||
/*
|
||||
QString macro;
|
||||
for(int i=0;i<lineCount();i++) {
|
||||
macro+=d_texts.at(i).at(1).toString();
|
||||
}
|
||||
*/
|
||||
QString sql=QString("update CART set ")+
|
||||
"MACROS=\""+RDEscapeString(allCode())+"\" where "+
|
||||
QString().sprintf("NUMBER=%u",d_cart_number);
|
||||
|
Loading…
x
Reference in New Issue
Block a user