diff options
Diffstat (limited to 'kdevdesigner/uilib/database.cpp')
-rw-r--r-- | kdevdesigner/uilib/database.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kdevdesigner/uilib/database.cpp b/kdevdesigner/uilib/database.cpp index c9621604..0097605b 100644 --- a/kdevdesigner/uilib/database.cpp +++ b/kdevdesigner/uilib/database.cpp @@ -60,9 +60,9 @@ void DatabaseSupport::initPreview( const TQString &connection, const TQString &t con = TQSqlDatabase::database( connection ); else con = TQSqlDatabase::database(); - frm = new TQSqlForm( o, table ); + frm = new TQSqlForm( o, table.ascii() ); for ( TQMap<TQString, TQString>::Iterator it = dbControls.begin(); it != dbControls.end(); ++it ) { - TQObject *chld = parent->child( it.key(), "TQWidget" ); + TQObject *chld = parent->child( it.key().ascii(), "TQWidget" ); if ( !chld ) continue; frm->insert( (TQWidget*)chld, *it ); |