refactored setTitle to just be a normal AutoConnection signal

This commit is contained in:
Joakim L. Gilje
2021-12-14 20:30:09 +01:00
parent 61ab0e60ca
commit dec90c7ae0
3 changed files with 5 additions and 19 deletions

View File

@@ -28,7 +28,7 @@ wchar_t* ui_window_title(wchar_t* str)
main_window->getTitle(title);
str = title;
} else {
main_window->setTitle(str);
emit main_window->setTitle(QString::fromWCharArray(str));
}
return str;
}