forked from qt-creator/qt-creator
Designer: Trigger code setting suffixes on promoted widgets.
Initial-patch-by: Daniel Molkentin <daniel.molkentin@nokia.com> Change-Id: I28c03f29f69e4589aba9b5c234c86ec659f34c5a Reviewed-on: http://codereview.qt-project.org/5683 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
@@ -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)));
|
||||
|
||||
Reference in New Issue
Block a user