Changeset 13695


Ignore:
Timestamp:
Dec 27, 2012, 6:28:04 PM (8 years ago)
Author:
jordan
Message:

(trunk, qt) #5195 'Qt: open folder: single file in folder' -- fixed with patch from basinilya

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/mainwin.cc

    r13694 r13695  
    649649    const QString firstfile = files.at(0).filename;
    650650    int slashIndex = firstfile.indexOf('/');
    651     if (files.size() > 1)
    652     {
     651    if (slashIndex > -1) {
    653652        path = path + "/" + firstfile.left(slashIndex);
    654653    }
Note: See TracChangeset for help on using the changeset viewer.