summaryrefslogtreecommitdiff
path: root/src/common/fqterm_trace.h
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2014-04-21 01:33:19 +0800
committerIru Cai <mytbk920423@gmail.com>2015-02-08 13:11:41 +0800
commit121a986be20c0d18acb73d6f296e0a31e62828d0 (patch)
tree2dc63cfe61e246e851e022690178e0a6e0772bac /src/common/fqterm_trace.h
parenta68d5b5eded5c214eb2e1f83c212a988965a38b3 (diff)
downloadfqterm-121a986be20c0d18acb73d6f296e0a31e62828d0.tar.xz
wip: Migrate to Qt5 -- API,name changes
toAscii -> toLatin1 WFlags -> WindowFlags QCustomEvent -> QEvent QItemDelegate::check -> QItemDelegate::toCheck TRUE,FALSE -> true,false
Diffstat (limited to 'src/common/fqterm_trace.h')
-rw-r--r--src/common/fqterm_trace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/fqterm_trace.h b/src/common/fqterm_trace.h
index 8b7423e..627cbca 100644
--- a/src/common/fqterm_trace.h
+++ b/src/common/fqterm_trace.h
@@ -94,7 +94,7 @@ class FQTermTrace {
(*this) << "[" << category_ << " " << trace_level << " ";
#ifndef NO_FQTERM_TRACE_FILE_LINE_NUM
- (*this) << QFileInfo(file_name).fileName().toAscii().constData()
+ (*this) << QFileInfo(file_name).fileName().toLatin1().constData()
<< ": " << line_num;
#endif // NO_FQTERM_TRACE_FILE_LINE_NUM