Skip to content

Commit

Permalink
window title
Browse files Browse the repository at this point in the history
  • Loading branch information
kaniol-lck committed Mar 3, 2022
1 parent fe769d5 commit 5ef96ac
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ int main(int argc, char *argv[])
a.setWindowIcon(QIcon(":/image/modmanager.png"));
a.setOrganizationName("kaniol");
a.setApplicationName("Mod Manager");
a.setApplicationDisplayName(QObject::tr("Mod Manager"));

//setup translator
QTranslator translator;
Expand Down
1 change: 1 addition & 0 deletions src/ui/modmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ void ModManager::mergeMenuBar()

void ModManager::updateBrowsers(Browser *previous[[maybe_unused]], Browser *current)
{
setWindowTitle(current->name());
ui->modInfoDock->setWidget(current->infoWidget());
ui->fileListDock->setWidget(current->fileListWidget());
mergeMenuBar();
Expand Down
3 changes: 0 additions & 3 deletions src/ui/modmanager.ui
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
<height>960</height>
</rect>
</property>
<property name="windowTitle">
<string>ModManager</string>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
Expand Down
2 changes: 1 addition & 1 deletion src/version.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#ifndef VERSION_H
#define VERSION_H

constexpr auto kVersion = "v1.1.0";
constexpr auto kVersion = "v1.1.1";

#endif // VERSION_H

0 comments on commit 5ef96ac

Please sign in to comment.