mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-20 05:11:02 -04:00
Fixed usage of QFileInfo in RsCollectionDialog.cpp
This commit is contained in:
parent
23289c4991
commit
eaf2861cd0
1 changed files with 2 additions and 2 deletions
|
@ -362,7 +362,7 @@ void RsCollectionDialog::directoryLoaded(QString dirLoaded)
|
|||
if(!_dirLoaded)
|
||||
{
|
||||
|
||||
QFileInfo lastDir = Settings->getLastDir(RshareSettings::LASTDIR_EXTRAFILE);
|
||||
QFileInfo lastDir = QFileInfo(Settings->getLastDir(RshareSettings::LASTDIR_EXTRAFILE));
|
||||
if (lastDir.absoluteFilePath() == "") return;
|
||||
if (lastDir.absoluteFilePath() == dirLoaded) _dirLoaded = true;
|
||||
|
||||
|
@ -513,7 +513,7 @@ void RsCollectionDialog::addSelectionRecursive()
|
|||
|
||||
static void recursBuildFileTree(const QString& path,RsFileTree& tree,RsFileTree::DirIndex dir_index,bool recursive,std::map<QString,RsFileHash>& paths_to_hash)
|
||||
{
|
||||
QFileInfo fileInfo = path;
|
||||
QFileInfo fileInfo = QFileInfo(path);
|
||||
|
||||
if (fileInfo.isDir())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue