Skip to content
GitLab
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
075f0b06
Commit
075f0b06
authored
Jan 11, 2010
by
Daniel Molkentin
Browse files
Use native dir separators in S60 device preference pane.
parent
b1b48c25
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qt-s60/s60devicespreferencepane.cpp
View file @
075f0b06
...
...
@@ -32,6 +32,7 @@
#include
<qt4projectmanager/qt4projectmanagerconstants.h>
#include
<QtCore/QDir>
#include
<QtDebug>
using
namespace
Qt4ProjectManager
;
...
...
@@ -65,7 +66,8 @@ void S60DevicesWidget::updateDevicesList()
m_ui
->
list
->
clear
();
foreach
(
const
S60Devices
::
Device
&
device
,
devices
)
{
QStringList
columns
;
columns
<<
device
.
epocRoot
<<
(
device
.
qt
.
isEmpty
()
?
tr
(
"No Qt installed"
)
:
device
.
qt
);
columns
<<
QDir
::
toNativeSeparators
(
device
.
epocRoot
)
<<
(
device
.
qt
.
isEmpty
()
?
tr
(
"No Qt installed"
)
:
QDir
::
toNativeSeparators
(
device
.
qt
));
QTreeWidgetItem
*
item
=
new
QTreeWidgetItem
(
columns
);
const
QString
tooltip
=
device
.
toHtml
();
item
->
setToolTip
(
0
,
tooltip
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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