/* VLC-REMOTE for MAEMO 5
-* Copyright (C) 2010 Schutz Sacha <istdasklar@gmail.com>, Dru Moore <usr@dru-id.co.uk>
+* Copyright (C) 2010 Schutz Sacha <istdasklar@gmail.com>, Dru Moore <usr@dru-id.co.uk>, Yann Nave <yannux@onbebop.net>
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2,
* or (at your option) any later version, as published by the Free
ui->browseButton->setDisabled(true);
ui->playButton->setDisabled(true);
ui->addButton->setDisabled(true);
- browseDirectory(mCurrentElement.path);
+ mCurrentDir = mCurrentElement.path;
+ browseDirectory(mCurrentDir);
}
else {
// can we browse?
// check for directory
if (0 == QString::compare("directory", mCurrentElement.type)) {
// call browseDirectory
- this->browseDirectory(mCurrentElement.path);
+ mCurrentDir = mCurrentElement.path;
+ browseDirectory(mCurrentDir);
}
else {
ui->browseButton->setDisabled(true);