summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/uilib/database.cpp
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-23 20:11:33 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-23 20:11:33 +0000
commitf9c30e41d26594598abaa8315c4488b6c5ff38ea (patch)
tree0f3a5190aef92c865cb3f6a2304c093b949bc1b6 /kdevdesigner/uilib/database.cpp
parent5e2135048c5de59f5351380653961b9a1e260d84 (diff)
downloadtdevelop-f9c30e41d26594598abaa8315c4488b6c5ff38ea.tar.gz
tdevelop-f9c30e41d26594598abaa8315c4488b6c5ff38ea.zip
[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
Diffstat (limited to 'kdevdesigner/uilib/database.cpp')
-rw-r--r--kdevdesigner/uilib/database.cpp4
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 );