fix: titlebar have two app name
This commit is contained in:
@ -271,7 +271,7 @@ void MainWindow::updateWindowTitle()
|
|||||||
QString fileName = m_documentManager->getDocumentTitle(docId);
|
QString fileName = m_documentManager->getDocumentTitle(docId);
|
||||||
bool isModified = m_documentManager->isDocumentModified(docId);
|
bool isModified = m_documentManager->isDocumentModified(docId);
|
||||||
|
|
||||||
title = QString("%1%2 - Pineapple Notepad")
|
title = QString("%1%2")
|
||||||
.arg(fileName)
|
.arg(fileName)
|
||||||
.arg(isModified ? "*" : "");
|
.arg(isModified ? "*" : "");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user