Commit 6f86cae5 authored by Christoffer Ackelman's avatar Christoffer Ackelman

QT: Fixed bug when xtt_ge was used embedded in a multiview.

parent 0f916a95
......@@ -331,8 +331,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