New upstream version 19.0.3+dfsg1
This commit is contained in:
parent
3708b8e092
commit
1f1bbb3518
534 changed files with 13862 additions and 2459 deletions
|
|
@ -16,6 +16,7 @@
|
|||
******************************************************************************/
|
||||
|
||||
#include "window-namedialog.hpp"
|
||||
#include "qt-wrappers.hpp"
|
||||
#include "ui_NameDialog.h"
|
||||
#include "obs-app.hpp"
|
||||
|
||||
|
|
@ -46,7 +47,7 @@ bool NameDialog::AskForName(QWidget *parent, const QString &title,
|
|||
|
||||
bool accepted = (dialog.exec() == DialogCode::Accepted);
|
||||
if (accepted) {
|
||||
str = dialog.ui->userText->text().toStdString();
|
||||
str = QT_TO_UTF8(dialog.ui->userText->text());
|
||||
|
||||
while (str.size() && IsWhitespace(str.back()))
|
||||
str.erase(str.end() - 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue