diff options
Diffstat (limited to 'kexi/plugins/scripting/kexiscripting/kexiscriptdesignview.cpp')
-rw-r--r-- | kexi/plugins/scripting/kexiscripting/kexiscriptdesignview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/plugins/scripting/kexiscripting/kexiscriptdesignview.cpp b/kexi/plugins/scripting/kexiscripting/kexiscriptdesignview.cpp index 0c95cb0e..39f84599 100644 --- a/kexi/plugins/scripting/kexiscripting/kexiscriptdesignview.cpp +++ b/kexi/plugins/scripting/kexiscripting/kexiscriptdesignview.cpp @@ -295,7 +295,7 @@ KexiDB::SchemaData* KexiScriptDesignView::storeNewData(const KexiDB::SchemaData& if(! storeData()) { kdWarning() << "KexiScriptDesignView::storeNewData Failed to store the data." << endl; //failure: remove object's schema data to avoid garbage - KexiDB::Connection *conn = tqparentDialog()->mainWin()->project()->dbConnection(); + KexiDB::Connection *conn = parentDialog()->mainWin()->project()->dbConnection(); conn->removeObject( s->id() ); delete s; return 0; @@ -306,7 +306,7 @@ KexiDB::SchemaData* KexiScriptDesignView::storeNewData(const KexiDB::SchemaData& tristate KexiScriptDesignView::storeData(bool /*dontAsk*/) { - kexipluginsdbg << "KexiScriptDesignView::storeData(): " << tqparentDialog()->partItem()->name() << " [" << tqparentDialog()->id() << "]" << endl; + kexipluginsdbg << "KexiScriptDesignView::storeData(): " << parentDialog()->partItem()->name() << " [" << parentDialog()->id() << "]" << endl; TQDomDocument domdoc("script"); TQDomElement scriptelem = domdoc.createElement("script"); |