[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenonbeta/krecipes/src/DBBackend
From:       Unai Garro <Unai.Garro () ee ! ed ! ac ! uk>
Date:       2003-11-23 17:36:21
[Download RAW message or body]

CVS commit by uga: 

use the new sample files


  M +1 -1      literecipedb.cpp   1.63
  M +1 -1      mysqlrecipedb.cpp   1.43


--- kdenonbeta/krecipes/src/DBBackend/literecipedb.cpp  #1.62:1.63
@@ -735,5 +735,5 @@ void LiteRecipeDB::initializeData(void)
         QString commands;
         // Read the commands form the data file
-        QFile datafile(KGlobal::dirs()->findResource("appdata", "data/data.sql"));
+        QFile datafile(KGlobal::dirs()->findResource("appdata", "data/litedata.sql"));
         if ( datafile.open( IO_ReadOnly ) ) {
         QTextStream stream( &datafile );

--- kdenonbeta/krecipes/src/DBBackend/mysqlrecipedb.cpp  #1.42:1.43
@@ -704,5 +704,5 @@ QSqlQuery initializeQuery(command,databa
         QString commands;
         // Read the commands form the data file
-        QFile datafile(KGlobal::dirs()->findResource("appdata", "data/data.sql"));
+        QFile datafile(KGlobal::dirs()->findResource("appdata", "data/mysqldata.sql"));
         if ( datafile.open( IO_ReadOnly ) ) {
         QTextStream stream( &datafile );


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic