Ticket #205: foldernavigationwidget.diff
| File foldernavigationwidget.diff, 1.1 KB (added by , 14 years ago) |
|---|
-
foldernavigationwidget.cpp
80 80 private: 81 81 #if defined(Q_OS_UNIX) 82 82 const QVariant m_root; 83 84 83 85 const QVariant m_dotdot; 84 86 #endif 85 87 const QVariant m_dot; … … 89 91 QSortFilterProxyModel(parent), 90 92 #if defined(Q_OS_UNIX) 91 93 m_root(QString(QLatin1Char('/'))), 94 95 92 96 m_dotdot(QLatin1String("..")), 93 97 #endif 94 98 m_dot(QString(QLatin1Char('.'))) … … 102 106 if (sourceModel()->data(parent) == m_root && fileName == m_dotdot) 103 107 return false; 104 108 #endif 109 110 111 112 113 114 115 116 105 117 return fileName != m_dot; 106 118 } 107 119
