Commit 22735028 authored by Daniel Teske's avatar Daniel Teske
Browse files

AndroidExtraLibsModel: Use QDir::cleanPaths() for entries



Change-Id: Ie429b3e04d933663e9f6a883048ab75851ca63cd
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent 4facd1ea
......@@ -71,7 +71,7 @@ int AndroidExtraLibraryListModel::columnCount(const QModelIndex &) const
QVariant AndroidExtraLibraryListModel::data(const QModelIndex &index, int role) const
{
Q_ASSERT(index.row() >= 0 && index.row() < m_entries.size());
const QString &entry = m_entries.at(index.row());
const QString &entry = QDir::cleanPath(m_entries.at(index.row()));
switch (role) {
case Qt::DisplayRole: return entry;
default: return QVariant();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment