Commit 622d7020 authored by Christoffer Ackelman's avatar Christoffer Ackelman Committed by Esteban Blanc

QT: Fixed issue when XttGe widget was embedded in a MultiView widget.

parent 016ba2ab
......@@ -268,8 +268,8 @@ XttGeQt::XttGeQt(void* xg_parent_ctx, const char* xg_name,
str_StrncpyCutOff(title, name, sizeof(title), 1);
// Qt
toplevel = new XttGeQtWidget(this);
if (!(options & ge_mOptions_Embedded)) {
toplevel = new XttGeQtWidget(this);
toplevel->setWindowTitle(QString::fromLatin1(title));
toplevel->setAttribute(Qt::WA_DeleteOnClose);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment