Remove checking of old product that doesn't exist anymore
authorKalle Viironen <kalle.viironen@digia.com>
Thu, 16 Jan 2014 08:06:27 +0000 (10:06 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 16 Jan 2014 11:19:27 +0000 (12:19 +0100)
There's no product called 'console' anymore.

Change-Id: I57e1173de388f3602a392c1a38019ff20179e06a
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
src/designer/src/designer/qdesigner.cpp

index 8c10f5a..9484bc2 100644 (file)
@@ -231,13 +231,6 @@ void QDesigner::initialize()
     installTranslator(translator);
     installTranslator(qtTranslator);
 
-    if (QLibraryInfo::licensedProducts() == QStringLiteral("Console")) {
-        QMessageBox::information(0, tr("Qt Designer"),
-                tr("This application cannot be used for the Console edition of Qt"));
-        QMetaObject::invokeMethod(this, "quit", Qt::QueuedConnection);
-        return;
-    }
-
     m_workbench = new QDesignerWorkbench();
 
     emit initialized();