Commit a1e01ff4 authored by Christoffer Ackelman's avatar Christoffer Ackelman

QT: fixed msgwindow open again after closing

parent 48e3a402
......@@ -44,7 +44,6 @@
MsgListQt::MsgListQt(void* ev_parent_ctx, QWidget* ev_parent_wid, QWidget** w)
: MsgList(ev_parent_ctx)
{
debug_print("creating a scrolledbrowwidgetqt\n");
form_widget
= scrolledbrowwidgetqt_new(MsgList::init_brow_cb, this, &brow_widget);
......@@ -56,7 +55,6 @@ MsgListQt::MsgListQt(void* ev_parent_ctx, QWidget* ev_parent_wid, QWidget** w)
MsgListQt::~MsgListQt()
{
debug_print("MsgListQt::~MsgListQt\n");
delete brow;
form_widget->close();
}
......
......@@ -42,15 +42,15 @@
#include "cow_wow_qt.h"
#include "cow_xhelp.h"
#include <QCloseEvent>
#include <QMenu>
#include <QMenuBar>
#include <QVBoxLayout>
void MsgWindowQtWidget::closeEvent(QCloseEvent* event)
{
debug_print("MsgWindowQtWidget::closeEvent\n");
activate_exit();
QWidget::closeEvent(event);
event->ignore();
}
MsgWindowQt::MsgWindowQt(void* msg_parent_ctx, QWidget* msg_parent_wid,
......
......@@ -443,6 +443,7 @@ void CoWowQtObject::DisplayLicense()
int CoWowQt::GetSelection(char* str, int size, const char* atom)
{
debug_print("GetSelection str=%s, size=%d, arom=%s\n", str, size, atom);
static wow_sSelection data;
data.received = 0;
......
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