Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
4392c112
Commit
4392c112
authored
Feb 22, 2010
by
Thomas Hartmann
Browse files
QmlDesigner: fixes viewlogger for Windows
parent
7d3d9cad
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/core/model/viewlogger.cpp
View file @
4392c112
...
...
@@ -76,11 +76,15 @@ ViewLogger::ViewLogger(QObject *parent)
#endif
QTemporaryFile
*
temporaryFile
=
new
QTemporaryFile
(
tempPath
+
QString
(
"/bauhaus-logger-%1-XXXXXX.txt"
).
arg
(
QDateTime
::
currentDateTime
().
toString
(
Qt
::
ISODate
).
replace
(
":"
,
"-"
)),
this
);
QString
tempFileName
=
tempPath
+
QString
(
"/bauhaus-logger-%1-XXXXXX.txt"
).
arg
(
QDateTime
::
currentDateTime
().
toString
(
Qt
::
ISODate
).
replace
(
':'
,
'-'
));
temporaryFile
->
setAutoRemove
(
false
);
if
(
temporaryFile
->
open
())
{
qDebug
()
<<
"TemporaryLoggerFile is:"
<<
temporaryFile
->
fileName
();
qDebug
()
<<
"ViewLogger: TemporaryLoggerFile is:"
<<
temporaryFile
->
fileName
();
m_output
.
setDevice
(
temporaryFile
);
}
else
{
qDebug
()
<<
"ViewLogger: failed to open:"
<<
temporaryFile
->
fileName
();
}
m_timer
.
start
();
...
...
Write
Preview
Supports
Markdown
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