mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -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
@ -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…
Reference in New Issue
Block a user