forked from qt-creator/qt-creator
Core: filepathify expected document changes
Change-Id: Ifa9341e55c79459db9ecef3c441da9b2816695bf Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -930,7 +930,7 @@ void QmakePriFile::save(const QStringList &lines)
|
||||
{
|
||||
{
|
||||
QTC_ASSERT(m_textFormat.codec, return);
|
||||
FileChangeBlocker changeGuard(filePath().toString());
|
||||
FileChangeBlocker changeGuard(filePath());
|
||||
QString errorMsg;
|
||||
if (!m_textFormat.writeFile(filePath(), lines.join('\n'), &errorMsg)) {
|
||||
QMessageBox::critical(Core::ICore::dialogParent(), QCoreApplication::translate(
|
||||
|
||||
Reference in New Issue
Block a user