Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
a1e01ff4
Commit
a1e01ff4
authored
Aug 21, 2018
by
Christoffer Ackelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
QT: fixed msgwindow open again after closing
parent
48e3a402
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
xtt/lib/cow/qt/cow_msglist_qt.cpp
xtt/lib/cow/qt/cow_msglist_qt.cpp
+0
-2
xtt/lib/cow/qt/cow_msgwindow_qt.cqt
xtt/lib/cow/qt/cow_msgwindow_qt.cqt
+2
-2
xtt/lib/cow/qt/cow_wow_qt.cqt
xtt/lib/cow/qt/cow_wow_qt.cqt
+1
-0
No files found.
xtt/lib/cow/qt/cow_msglist_qt.cpp
View file @
a1e01ff4
...
...
@@ -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
();
}
...
...
xtt/lib/cow/qt/cow_msgwindow_qt.cqt
View file @
a1e01ff4
...
...
@@ -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,
...
...
xtt/lib/cow/qt/cow_wow_qt.cqt
View file @
a1e01ff4
...
...
@@ -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;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment