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
03615140
Commit
03615140
authored
Dec 14, 2018
by
Christoffer Ackelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a small function to turn DEBUG on/off.
parent
8c9d8f8e
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
10 additions
and
24 deletions
+10
-24
wb/exe/wb/qt/wb_qt.cpp
wb/exe/wb/qt/wb_qt.cpp
+1
-3
wb/exe/wb_cmd/qt/wb_cmd_qt.cpp
wb/exe/wb_cmd/qt/wb_cmd_qt.cpp
+3
-3
xtt/exe/co_help/qt/co_help_qt.cpp
xtt/exe/co_help/qt/co_help_qt.cpp
+1
-3
xtt/exe/pwr_rtmon/qt/pwr_rtmon_qt.cpp
xtt/exe/pwr_rtmon/qt/pwr_rtmon_qt.cpp
+1
-3
xtt/exe/rt_statusmon/qt/rt_statusmon_qt.cpp
xtt/exe/rt_statusmon/qt/rt_statusmon_qt.cpp
+1
-3
xtt/exe/rt_xtt/qt/rt_xtt_qt.cqt
xtt/exe/rt_xtt/qt/rt_xtt_qt.cqt
+1
-3
xtt/exe/rt_xtt_cmd/qt/rt_xtt_cmd_qt.cpp
xtt/exe/rt_xtt_cmd/qt/rt_xtt_cmd_qt.cpp
+1
-3
xtt/exe/wb_ge/qt/wb_ge_qt.cpp
xtt/exe/wb_ge/qt/wb_ge_qt.cpp
+1
-3
No files found.
wb/exe/wb/qt/wb_qt.cpp
View file @
03615140
...
...
@@ -59,8 +59,6 @@
#include <QApplication>
#include <QTimer>
extern
int
DEBUG
;
Wtt
*
WbQt
::
wtt_new
(
const
char
*
name
,
const
char
*
iconname
,
ldh_tWBContext
ldhwbctx
,
pwr_tVolumeId
volid
,
ldh_tVolume
volctx
,
wnav_sStartMenu
*
root_menu
,
pwr_tStatus
*
status
)
...
...
@@ -80,7 +78,7 @@ WVsel* WbQt::vsel_new(pwr_tStatus* status, const char* name,
int
main
(
int
argc
,
char
*
argv
[])
{
DEBUG
=
1
;
setDebug
(
1
)
;
if
(
argc
>=
2
&&
streq
(
argv
[
1
],
"-m"
))
{
wb_erep
::
printMethods
();
debug_print
(
"Shutting down...
\n
"
);
...
...
wb/exe/wb_cmd/qt/wb_cmd_qt.cpp
View file @
03615140
...
...
@@ -40,6 +40,8 @@
#include <stdlib.h>
#include <string.h>
#include "co_debug.h"
#include "cow_style_qt.h"
#include "wb_log_qt.h"
...
...
@@ -49,8 +51,6 @@
#include <QApplication>
extern
int
DEBUG
;
CmdQt
::
CmdQt
(
int
argc
,
char
*
argv
[])
{
QWidget
*
w
;
...
...
@@ -79,7 +79,7 @@ CmdQt::CmdQt(int argc, char* argv[])
int
main
(
int
argc
,
char
*
argv
[])
{
DEBUG
=
1
;
setDebug
(
1
)
;
QApplication
app
(
argc
,
argv
);
QApplication
::
setStyle
(
new
PwrStyle
());
new
CmdQt
(
argc
,
argv
);
...
...
xtt/exe/co_help/qt/co_help_qt.cpp
View file @
03615140
...
...
@@ -45,8 +45,6 @@
#include <QApplication>
extern
int
DEBUG
;
CoHelpQt
*
help
;
void
close_cb
(
void
*
ctx
,
void
*
xhelp
)
...
...
@@ -59,7 +57,7 @@ void close_cb(void* ctx, void* xhelp)
int
main
(
int
argc
,
char
*
argv
[])
{
DEBUG
=
1
;
setDebug
(
1
)
;
int
sts
;
QApplication
app
(
argc
,
argv
);
...
...
xtt/exe/pwr_rtmon/qt/pwr_rtmon_qt.cpp
View file @
03615140
...
...
@@ -48,8 +48,6 @@
#include <QApplication>
extern
int
DEBUG
;
CoXHelp
*
xhelp
;
RtMon
*
rtmon
;
...
...
@@ -73,7 +71,7 @@ static void rtmon_close_cb(void* ctx)
int
main
(
int
argc
,
char
*
argv
[])
{
DEBUG
=
1
;
setDebug
(
1
)
;
int
sts
;
char
display
[
80
]
=
""
;
...
...
xtt/exe/rt_statusmon/qt/rt_statusmon_qt.cpp
View file @
03615140
...
...
@@ -48,8 +48,6 @@
#include <QApplication>
extern
int
DEBUG
;
static
void
usage
()
{
printf
(
"
\n
\
...
...
@@ -73,7 +71,7 @@ static void statusmon_close(void* ctx)
int
main
(
int
argc
,
char
*
argv
[])
{
DEBUG
=
1
;
setDebug
(
1
)
;
int
sts
;
int
mode
=
nodelist_eMode_SystemStatus
;
int
view_descr
=
0
;
...
...
xtt/exe/rt_xtt/qt/rt_xtt_qt.cqt
View file @
03615140
...
...
@@ -59,8 +59,6 @@
#include <QMenuBar>
#include <QVBoxLayout>
extern int DEBUG;
void XttQt::hotkey_Command(char* arg, void* userdata)
{
Xtt* xtt = (Xtt*)userdata;
...
...
@@ -553,7 +551,7 @@ void XttQtWidget::valchanged_cmd_entry()
int main(int argc, char* argv[])
{
DEBUG=1
;
setDebug(1)
;
int sts;
QApplication app(argc, argv);
...
...
xtt/exe/rt_xtt_cmd/qt/rt_xtt_cmd_qt.cpp
View file @
03615140
...
...
@@ -52,8 +52,6 @@
#include <QApplication>
#include <QMainWindow>
extern
int
DEBUG
;
XttCmdQt
::
XttCmdQt
(
QWidget
*
w
)
{
pwr_tStatus
sts
;
...
...
@@ -77,7 +75,7 @@ static int timeout_func()
int
main
(
int
argc
,
char
*
argv
[])
{
DEBUG
=
1
;
setDebug
(
1
)
;
pwr_tStatus
sts
;
int
i
;
char
str
[
256
];
...
...
xtt/exe/wb_ge/qt/wb_ge_qt.cpp
View file @
03615140
...
...
@@ -58,8 +58,6 @@
static
QWidget
*
toplevel
;
static
QWidget
*
mainwindow
;
extern
int
DEBUG
;
static
void
usage
()
{
printf
(
"
\n
Usage: wb_ge [-l language] [graphname]
\n
"
);
...
...
@@ -67,7 +65,7 @@ static void usage()
int
main
(
int
argc
,
char
*
argv
[])
{
DEBUG
=
1
;
setDebug
(
1
)
;
int
i
;
pwr_tFileName
file
;
char
graph_name
[
80
];
...
...
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