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
f4caf3bc
Commit
f4caf3bc
authored
5 years ago
by
Christoffer Ackelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
QT: Fixed Warranty not being the topmost widget.
parent
f1d707fc
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
xtt/exe/rt_xtt/qt/rt_xtt_qt.cqt
xtt/exe/rt_xtt/qt/rt_xtt_qt.cqt
+4
-2
xtt/lib/xtt/qt/xtt_op_qt.cqt
xtt/lib/xtt/qt/xtt_op_qt.cqt
+3
-1
No files found.
xtt/exe/rt_xtt/qt/rt_xtt_qt.cqt
View file @
f4caf3bc
...
...
@@ -57,6 +57,7 @@
#include <QDesktopWidget>
#include <QInputDialog>
#include <QMenuBar>
#include <QTimer>
#include <QVBoxLayout>
void XttQt::hotkey_Command(char* arg, void* userdata)
...
...
@@ -774,11 +775,12 @@ XttQt::XttQt(int argc, char* argv[], int* return_sts)
((CoWowQt*)wow)->SetParent(((CoLoginQt*)xnav->cologin)->toplevel);
}
wow->DisplayWarranty();
if (xnav->cologin) {
((CoWowQt*)wow)->SetParent(toplevel);
}
// Use timeout to get in on the top of the display
QTimer::singleShot(100, ((CoWowQt*)wow)->object, SLOT(DisplayWarranty()));
}
timerid = wow->timer_new();
...
...
This diff is collapsed.
Click to expand it.
xtt/lib/xtt/qt/xtt_op_qt.cqt
View file @
f4caf3bc
...
...
@@ -59,6 +59,7 @@
#include <QCloseEvent>
#include <QDesktopWidget>
#include <QPushButton>
#include <QTimer>
#define OP_HEIGHT_MIN 90
#define OP_HEIGHT_INC 20
...
...
@@ -475,7 +476,8 @@ OpQt::OpQt(void* op_parent_ctx, char* opplace, pwr_tStatus* status)
wow = new CoWowQt(toplevel);
sup_timerid = wow->timer_new();
wow->DisplayWarranty();
// Use timeout to get in on the top of the display
QTimer::singleShot(100, ((CoWowQt*)wow)->object, SLOT(DisplayWarranty()));
if (!(layout_mask & pwr_mOpWindLayoutMask_HideStatusBar)) {
sup_scan(this);
...
...
This diff is collapsed.
Click to expand it.
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