ui: Indicate portable build in the main window title

This commit is contained in:
Oleg Shparber 2017-12-09 20:08:00 +02:00
parent 5b9fed94db
commit 9c0938c679

View File

@ -596,7 +596,11 @@ void MainWindow::attachTab(TabState *tabState)
if (title.isEmpty())
return;
#ifndef PORTABLE_BUILD
setWindowTitle(QStringLiteral("%1 - Zeal").arg(title));
#else
setWindowTitle(QStringLiteral("%1 - Zeal Portable").arg(title));
#endif
m_tabBar->setTabText(m_tabBar->currentIndex(), title);
m_tabBar->setTabToolTip(m_tabBar->currentIndex(), title);
});