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
57bd1f44
Commit
57bd1f44
authored
Aug 24, 2018
by
Christoffer Ackelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed an error when closing several open wtt widgets.
parent
727efcae
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
2 deletions
+6
-2
wb/exe/wb/qt/wb_qt.cpp
wb/exe/wb/qt/wb_qt.cpp
+1
-1
wb/exe/wb/qt/wb_qt.h
wb/exe/wb/qt/wb_qt.h
+1
-1
wb/exe/wb/src/wb_main.cpp
wb/exe/wb/src/wb_main.cpp
+2
-0
wb/lib/wb/qt/wb_wtt_qt.cqt
wb/lib/wb/qt/wb_wtt_qt.cqt
+2
-0
No files found.
wb/exe/wb/qt/wb_qt.cpp
View file @
57bd1f44
...
@@ -86,7 +86,7 @@ int main(int argc, char* argv[])
...
@@ -86,7 +86,7 @@ int main(int argc, char* argv[])
QApplication
app
(
argc
,
argv
);
QApplication
app
(
argc
,
argv
);
QApplication
::
setStyle
(
new
PwrStyle
());
QApplication
::
setStyle
(
new
PwrStyle
());
WbQt
(
argc
,
argv
);
Wb
::
main_wb
=
new
Wb
Qt
(
argc
,
argv
);
return
app
.
exec
();
return
app
.
exec
();
}
}
...
...
wb/exe/wb/qt/wb_qt.h
View file @
57bd1f44
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
#include <QWidget>
#include <QWidget>
class
WbQt
:
public
Wb
{
class
WbQt
:
public
Wb
{
public:
public:
QWidget
*
toplevel
;
QWidget
*
toplevel
;
QWidget
*
mainwindow
;
QWidget
*
mainwindow
;
...
...
wb/exe/wb/src/wb_main.cpp
View file @
57bd1f44
...
@@ -497,6 +497,8 @@ int Wb::vsel_success(void* vselctx, pwr_tVolumeId* volumelist, int volume_count)
...
@@ -497,6 +497,8 @@ int Wb::vsel_success(void* vselctx, pwr_tVolumeId* volumelist, int volume_count)
int
sts
;
int
sts
;
pwr_tStatus
status
;
pwr_tStatus
status
;
wb
->
appl_count
--
;
sts
=
1
;
sts
=
1
;
if
(
CoLogin
::
privilege
()
&
pwr_mPrv_DevRead
)
{
if
(
CoLogin
::
privilege
()
&
pwr_mPrv_DevRead
)
{
for
(
i
=
0
;
i
<
volume_count
;
i
++
)
{
for
(
i
=
0
;
i
<
volume_count
;
i
++
)
{
...
...
wb/lib/wb/qt/wb_wtt_qt.cqt
View file @
57bd1f44
...
@@ -2320,6 +2320,8 @@ WttQt::~WttQt()
...
@@ -2320,6 +2320,8 @@ WttQt::~WttQt()
options_form->close();
options_form->close();
}
}
delete toplevel;
if (!close_cb) {
if (!close_cb) {
debug_print("Shutting down...\n");
debug_print("Shutting down...\n");
exit(0);
exit(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