forked from qt-creator/qt-creator
Core: fix build (with MSVC)
coreplugin.cpp:407: error: C2664: 'QString QString::arg(qlonglong,int,int,QChar) const': cannot convert argument 1 from 'const char [11]' to 'qlonglong' note: There is no context in which this conversion is possible qstring.h(444): note: see declaration of 'QString::arg' Change-Id: I2c4122c4bf0f6b35f6f7b45b2c2d014ac7863065 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -404,10 +404,10 @@ void CorePlugin::warnAboutCrashReporing()
|
||||
"To enable this feature go to %2.");
|
||||
|
||||
if (Utils::HostOsInfo::isMacHost()) {
|
||||
warnStr = warnStr.arg(Core::Constants::IDE_DISPLAY_NAME,
|
||||
warnStr = warnStr.arg(QLatin1String(Core::Constants::IDE_DISPLAY_NAME),
|
||||
Core::Constants::IDE_DISPLAY_NAME + tr(" > Preferences > Environment > System"));
|
||||
} else {
|
||||
warnStr = warnStr.arg(Core::Constants::IDE_DISPLAY_NAME,
|
||||
warnStr = warnStr.arg(QLatin1String(Core::Constants::IDE_DISPLAY_NAME),
|
||||
tr("Tools > Options > Environment > System"));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user