Commit 2fa1a2fb authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Designer: Trigger code setting suffixes on promoted widgets.


Initial-patch-by: default avatarDaniel Molkentin <daniel.molkentin@nokia.com>

Change-Id: I28c03f29f69e4589aba9b5c234c86ec659f34c5a
Reviewed-on: http://codereview.qt-project.org/5683

Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@nokia.com>
parent 82cbd0a9
......@@ -648,7 +648,7 @@ bool QtCreatorIntegration::navigateToSlot(const QString &objectName,
void QtCreatorIntegration::slotSyncSettingsToDesigner()
{
#if QT_VERSION >= 0x040800
#if QT_VERSION > 0x040800
// Set promotion-relevant parameters on integration.
const Core::MimeDatabase *mdb = Core::ICore::instance()->mimeDatabase();
setHeaderSuffix(mdb->preferredSuffixByType(QLatin1String(CppTools::Constants::CPP_HEADER_MIMETYPE)));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment