Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
captainwong
jlib
Commits
b79c26c6
Commit
b79c26c6
authored
4 years ago
by
captainwong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MYQINFO
parent
b36e44e1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
QtDebug.h
jlib/qt/QtDebug.h
+1
-0
QtDebugOutput.h
jlib/qt/QtDebugOutput.h
+1
-1
No files found.
jlib/qt/QtDebug.h
View file @
b79c26c6
...
...
@@ -10,6 +10,7 @@
#define JLIBQT_QDEBUG_FILE_LINE_VALUE (QString("[") + __FUNCTION__ + " ln" + QString::number(__LINE__) + "]: ")
#define MYQDEBUG qDebug() << JLIBQT_QDEBUG_FILE_LINE_STREAM
#define MYQINFO qInfo() << JLIBQT_QDEBUG_FILE_LINE_STREAM
#define MYQWARN qWarning() << JLIBQT_QDEBUG_FILE_LINE_STREAM
#define MYQCRITICAL qCritical() << JLIBQT_QDEBUG_FILE_LINE_STREAM
...
...
This diff is collapsed.
Click to expand it.
jlib/qt/QtDebugOutput.h
View file @
b79c26c6
...
...
@@ -18,7 +18,7 @@ static inline void JLIBQT_MessageOutputFunc(QtMsgType type, const QMessageLogCon
QByteArray
localMsg
=
msg
.
toLocal8Bit
();
switch
(
type
)
{
case
QtDebugMsg
:
JLOG_
INFO
(
localMsg
.
data
());
JLOG_
DBUG
(
localMsg
.
data
());
break
;
case
QtWarningMsg
:
if
(
!
msg
.
contains
(
"libpng"
))
{
...
...
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