Skip to content

Commit 3e108c0

Browse files
committed
fixed bugs
1 parent d6cdc1c commit 3e108c0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

corefm/corefm.cpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,16 @@ corefm::corefm(QWidget *parent) :QWidget(parent),ui(new Ui::corefm)
5656
mimeUtils->setDefaultsFileName(name);
5757

5858
// Create filesystem model
59-
bool realMime = sm.getIsRealMimeType();//sett->value("Real-Mime-Types", true).toBool();
59+
bool realMime = sm.getIsRealMimeType();
6060

6161
QString startP;
6262

63-
if (sm.getStartupPath() == "") {//sett->value("Startup-Path").toString() == "") {
63+
if (sm.getStartupPath() == "") {
6464
startP = QDir::homePath();
6565
} else {
66-
startP = sm.getStartupPath();//sett->value("Startup-Path").toString();
66+
startP = sm.getStartupPath();
6767
}
68+
startPath = startP;
6869

6970
modelList = new myModel(realMime, mimeUtils);
7071

@@ -146,8 +147,6 @@ corefm::corefm(QWidget *parent) :QWidget(parent),ui(new Ui::corefm)
146147

147148
// watcher = new QFileSystemWatcher(this);
148149
// connect(watcher, SIGNAL(directoryChanged(QString)), this, SLOT(reloadList()));
149-
150-
startPath = startP;
151150
}
152151

153152
corefm::~corefm()

docs/To-Do.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ Search
4242
0 - if path is given find is not working.but locate is working.
4343

4444
corefm
45+
0 - set custom icom in home folder's.
4546
1 - if folder is empty show an image. like search app
4647
1 - add tree and mediainfo package.
4748
0 - need to fix view mode.

0 commit comments

Comments
 (0)