mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-25 09:11:06 -04:00
* use dataDirectory for Organizer DirModel
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1016 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
cb347ffd57
commit
99959b261f
1 changed files with 7 additions and 4 deletions
|
@ -82,7 +82,10 @@ LibraryDialog::LibraryDialog(QWidget *parent)
|
||||||
connect(ui.deleteAlbum_btn_library,SIGNAL(clicked()),this, SLOT(CallDeleteAlbumBtn_library()));
|
connect(ui.deleteAlbum_btn_library,SIGNAL(clicked()),this, SLOT(CallDeleteAlbumBtn_library()));
|
||||||
connect(ui.find_btn_library,SIGNAL(clicked()),this, SLOT(CallFindBtn_library()));
|
connect(ui.find_btn_library,SIGNAL(clicked()),this, SLOT(CallFindBtn_library()));
|
||||||
|
|
||||||
|
/* Set header resize modes and initial section sizes */
|
||||||
|
QHeaderView * organizerheader = ui.organizertreeView->header();
|
||||||
|
|
||||||
|
organizerheader->resizeSection ( 0, 250 );
|
||||||
|
|
||||||
|
|
||||||
QTimer *timer = new QTimer(this);
|
QTimer *timer = new QTimer(this);
|
||||||
|
@ -107,7 +110,7 @@ void LibraryDialog::PopulateList()
|
||||||
LibShared=treePath.currentPath();
|
LibShared=treePath.currentPath();
|
||||||
LibShared.append("/RetroShare Library");
|
LibShared.append("/RetroShare Library");
|
||||||
#else
|
#else
|
||||||
LibShared=treePath.currentPath();
|
LibShared=Rshare::dataDirectory();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
QDirModel * dmodel=new QDirModel;
|
QDirModel * dmodel=new QDirModel;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue