From 14ba7d8af6ef7248dcd3eb85ae977950d1758600 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 3 May 2012 12:33:23 -0500 Subject: Fix 'format not a string literal' error --- kbarcode/csvimportdlg.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kbarcode/csvimportdlg.cpp b/kbarcode/csvimportdlg.cpp index 26e59da..6b07a7b 100644 --- a/kbarcode/csvimportdlg.cpp +++ b/kbarcode/csvimportdlg.cpp @@ -334,7 +334,6 @@ void CSVImportDlg::accept() TQValueList headers; TQStringList list; TQString name = getDatabaseName(); - int i = 0; TQString q = "INSERT INTO " + name + " ("; for( int c = 0; c < table->horizontalHeader()->count(); c++ ) { @@ -375,7 +374,7 @@ void CSVImportDlg::accept() TQSqlQuery query; if( !query.exec( line ) ) - tqDebug( i18n("Could not import the following line:") + line ); + tqDebug( "%s", i18n("Could not import the following line:") + line ); //KMessageBox::error( this, i18n("Could not import the following line:") + line ); } -- cgit v1.2.1