mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-22 06:09:09 -04:00
removed dead code, and added check for incorrect file names when saving
This commit is contained in:
parent
20f4b51bb7
commit
8366cbca59
5 changed files with 44 additions and 1203 deletions
|
@ -64,18 +64,8 @@ private slots:
|
|||
void chooseDestinationDirectory();
|
||||
void setDestinationDirectory();
|
||||
void openDestinationDirectoryMenu();
|
||||
#ifdef TO_REMOVE
|
||||
void processItem(QMap<QString, QString> &dirToAdd
|
||||
, int &index
|
||||
, ColFileInfo &parent
|
||||
) ;
|
||||
#endif
|
||||
void makeDir() ;
|
||||
void fileHashingFinished(QList<HashedFile> hashedFiles) ;
|
||||
#ifdef TO_REMOVE
|
||||
void itemChanged(QTreeWidgetItem* item,int col) ;
|
||||
#endif
|
||||
void updateRemoveDuplicate(bool checked);
|
||||
void cancel() ;
|
||||
void download() ;
|
||||
void save() ;
|
||||
|
@ -85,21 +75,9 @@ signals:
|
|||
|
||||
private:
|
||||
void processSettings(bool bLoad) ;
|
||||
bool updateList();
|
||||
#ifdef TO_REMOVE
|
||||
QTreeWidgetItem* getRootItem();
|
||||
bool addChild(QTreeWidgetItem *parent, const std::vector<ColFileInfo> &child);
|
||||
bool removeItem(QTreeWidgetItem *item, bool &removeOnlyFile) ;
|
||||
void saveChild(QTreeWidgetItem *parentItem, ColFileInfo *parentInfo = NULL);
|
||||
bool addAllChild(QFileInfo &fileInfoParent
|
||||
, QMap<QString, QString > &dirToAdd
|
||||
, QStringList &fileToHash
|
||||
, int &count);
|
||||
#endif
|
||||
void addSelection(bool recursive) ;
|
||||
|
||||
Ui::RsCollectionDialog ui;
|
||||
QString _fileName ;
|
||||
|
||||
RsCollectionDialogMode _mode;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue