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
@ -67,8 +67,8 @@ QString fileToFind;
|
||||
LibraryDialog::LibraryDialog(QWidget *parent)
|
||||
: MainPage(parent)
|
||||
{
|
||||
/* Invoke the Qt Designer generated object setup routine */
|
||||
ui.setupUi(this);
|
||||
/* Invoke the Qt Designer generated object setup routine */
|
||||
ui.setupUi(this);
|
||||
|
||||
|
||||
PopulateList();
|
||||
@ -82,7 +82,10 @@ LibraryDialog::LibraryDialog(QWidget *parent)
|
||||
connect(ui.deleteAlbum_btn_library,SIGNAL(clicked()),this, SLOT(CallDeleteAlbumBtn_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);
|
||||
@ -107,7 +110,7 @@ void LibraryDialog::PopulateList()
|
||||
LibShared=treePath.currentPath();
|
||||
LibShared.append("/RetroShare Library");
|
||||
#else
|
||||
LibShared=treePath.currentPath();
|
||||
LibShared=Rshare::dataDirectory();
|
||||
#endif
|
||||
|
||||
QDirModel * dmodel=new QDirModel;
|
||||
|
Loading…
Reference in New Issue
Block a user