mirror of
https://github.com/zealdocs/zeal.git
synced 2024-09-11 14:25:52 +03:00
ui: Indicate portable build in the main window title
This commit is contained in:
parent
5b9fed94db
commit
9c0938c679
@ -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);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user