summaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/uic3/form.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/tools/uic3/form.cpp b/src/tools/uic3/form.cpp
index 7a73203..2b132f5 100644
--- a/src/tools/uic3/form.cpp
+++ b/src/tools/uic3/form.cpp
@@ -197,20 +197,8 @@ void Ui3Reader::createFormDecl(const QDomElement &e)
}
out << endl;
- bool dbForm = false;
registerDatabases(e);
dbConnections = unique(dbConnections);
- if (dbForms[QLatin1String("(default)")].count())
- dbForm = true;
- bool subDbForms = false;
- for (it = dbConnections.constBegin(); it != dbConnections.constEnd(); ++it) {
- if (!(*it).isEmpty() && (*it) != QLatin1String("(default)")) {
- if (dbForms[(*it)].count()) {
- subDbForms = true;
- break;
- }
- }
- }
// some typedefs, maybe
typeDefs = unique(typeDefs);