From f9c30e41d26594598abaa8315c4488b6c5ff38ea Mon Sep 17 00:00:00 2001 From: samelian Date: Sun, 23 Jan 2011 20:11:33 +0000 Subject: [kdevelop] compatibility with QT_NO_ASCII_CAST and automoc git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1216512 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdevdesigner/uilib/database.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kdevdesigner/uilib/database.cpp') 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::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 ); -- cgit v1.2.1