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

List:       kde-commits
Subject:    koffice/kexi/plugins
From:       Jaroslaw Staniek <js () iidea ! pl>
Date:       2006-05-26 20:30:55
Message-ID: 1148675455.511888.4250.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 545110 by staniek:

warnings--
misssing files


 M  +1 -0      forms/widgets/kexidbcheckbox.cpp  
 M  +2 -3      tables/kexitabledesignerview.cpp  
 A             tables/kexitabledesignerview_p.cpp   [License: LGPL (v2+)]
 A             tables/kexitabledesignerview_p.h   [License: LGPL (v2+)]


--- trunk/koffice/kexi/plugins/forms/widgets/kexidbcheckbox.cpp #545109:545110
@@ -64,6 +64,7 @@
 
 void KexiDBCheckBox::setValueInternal(const QVariant &add, bool )
 {
+	Q_UNUSED(add);
 //	setState( add.isNull() ? NoChange : (add.toBool() ? On : Off) );
 	setState( m_origValue.isNull() ? NoChange : (m_origValue.toBool() ? On : Off) );
 }
--- trunk/koffice/kexi/plugins/tables/kexitabledesignerview.cpp #545109:545110
@@ -1228,13 +1228,12 @@
 //		KMessageBox::information(this, i18n("Saving changes for existing table design is \
not yet supported."));  //		cancel = true;
 
-	KexiDB::TableSchema *newTable = 0;
 	KexiDB::Connection *conn = mainWin()->project()->dbConnection();
 
 
 #ifdef KEXI_NO_UNDOREDO_ALTERTABLE
 	//keep old behaviour
-	newTable = new KexiDB::TableSchema();
+	KexiDB::TableSchema *newTable = new KexiDB::TableSchema();
 	//copy schema data
 	static_cast<KexiDB::SchemaData&>(*newTable) = \
static_cast<KexiDB::SchemaData&>(*tempData()->table);  res = buildSchema(*newTable);
@@ -1344,7 +1343,7 @@
 # ifdef KEXI_DEBUG_GUI
 	debugCommand( command, 0 );
 # endif
-	d->history->addCommand( command, false /* ! execute */ );
+	d->history->addCommand( command, execute );
 	updateUndoRedoActions();
 #endif
 }


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

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