From 8471d267f15e522836758953ab976beb21f42154 Mon Sep 17 00:00:00 2001 From: Christian Ehrlicher Date: Fri, 31 Jan 2020 22:16:35 +0100 Subject: QtSql: remove compat SQL plugin names Remove the compat SQL plugin names (QMYSQL3, QOCI8, QODBC3, QPSQL7) since they are not needed and just confuse the user [ChangeLog][QtSql] The compat plugin names QMYSQL3, QOCI8, QODBC3 and QPSQL7 are no longer available. Change-Id: I6d88f449ef3e18881a6970fb374ba0ab074ef302 Reviewed-by: Andy Shaw --- examples/sql/sqlbrowser/qsqlconnectiondialog.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'examples/sql/sqlbrowser/qsqlconnectiondialog.cpp') diff --git a/examples/sql/sqlbrowser/qsqlconnectiondialog.cpp b/examples/sql/sqlbrowser/qsqlconnectiondialog.cpp index 0d4a1bde77c..482048ab98a 100644 --- a/examples/sql/sqlbrowser/qsqlconnectiondialog.cpp +++ b/examples/sql/sqlbrowser/qsqlconnectiondialog.cpp @@ -60,13 +60,6 @@ QSqlConnectionDialog::QSqlConnectionDialog(QWidget *parent) QStringList drivers = QSqlDatabase::drivers(); - // remove compat names - drivers.removeAll("QMYSQL3"); - drivers.removeAll("QOCI8"); - drivers.removeAll("QODBC3"); - drivers.removeAll("QPSQL7"); - drivers.removeAll("QTDS7"); - if (!drivers.contains("QSQLITE")) ui.dbCheckBox->setEnabled(false); -- cgit v1.2.3