Lines 188-195
Link Here
|
188 |
|
188 |
|
189 |
if( fcontext->urls().size() == 1 ) |
189 |
if( fcontext->urls().size() == 1 ) |
190 |
{ |
190 |
{ |
191 |
QString contextFileName = URLUtil::canonicalPath(fcontext->urls().first().fileName()); |
191 |
QString contextFileName = URLUtil::canonicalPath(fcontext->urls().first().path()); |
192 |
bool inProject = project()->isProjectFile(contextFileName); |
192 |
|
|
|
193 |
bool inProject = project()->isProjectFile(contextFileName); |
193 |
QString popupstr = QFileInfo(contextFileName).fileName(); |
194 |
QString popupstr = QFileInfo(contextFileName).fileName(); |
194 |
if (contextFileName.startsWith(projectDirectory()+ "/")) |
195 |
if (contextFileName.startsWith(projectDirectory()+ "/")) |
195 |
contextFileName.remove(0, projectDirectory().length()+1); |
196 |
contextFileName.remove(0, projectDirectory().length()+1); |