Skip to content

Commit 1dc0b05

Browse files
authored
TTCCLayout(QString dateFormat) crash fix (#69)
1 parent 4d4cd66 commit 1dc0b05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/log4qt/ttcclayout.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ TTCCLayout::TTCCLayout(const QString &dateFormat,
4444
Layout(parent),
4545
mCategoryPrefixing(true),
4646
mContextPrinting(true),
47-
mDateFormat(dateFormat),
4847
mThreadPrinting(true)
4948
{
49+
setDateFormat(dateFormat);
5050
}
5151

5252
TTCCLayout::TTCCLayout(DateFormat dateFormat,

0 commit comments

Comments
 (0)