diff options
Diffstat (limited to 'src/tools/uic/uic.cpp')
-rw-r--r-- | src/tools/uic/uic.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/tools/uic/uic.cpp b/src/tools/uic/uic.cpp index f045e58d2e..b616f77b94 100644 --- a/src/tools/uic/uic.cpp +++ b/src/tools/uic/uic.cpp @@ -333,14 +333,12 @@ void Uic::writeHeaderProtectionEnd() bool Uic::isMainWindow(const QString &className) const { - return customWidgetsInfo()->extends(className, QLatin1String("Q3MainWindow")) - || customWidgetsInfo()->extends(className, QLatin1String("QMainWindow")); + return customWidgetsInfo()->extends(className, QLatin1String("QMainWindow")); } bool Uic::isToolBar(const QString &className) const { - return customWidgetsInfo()->extends(className, QLatin1String("Q3ToolBar")) - || customWidgetsInfo()->extends(className, QLatin1String("QToolBar")); + return customWidgetsInfo()->extends(className, QLatin1String("QToolBar")); } bool Uic::isButton(const QString &className) const |