git-svn-id: svn://db.shs.com.ru/pip@752 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2019-02-11 14:36:15 +00:00
parent bf414bec5e
commit 0990931078
2 changed files with 3 additions and 3 deletions

View File

@@ -379,7 +379,7 @@ PIDir PIDir::current() {
if (getcwd(rc, 1024) == 0) return PIString(); if (getcwd(rc, 1024) == 0) return PIString();
return PIDir(rc); return PIDir(rc);
# else # else
return PIDir(); return PIDir("/spiffs");
# endif # endif
#endif #endif
} }

View File

@@ -1,7 +1,7 @@
#include "file_manager.h" #include "file_manager.h"
#include "shared.h" #include "shared.h"
extern PIScreen screen; //extern PIScreen * screen;
FileManager::TileDir::TileDir(): TileList() { FileManager::TileDir::TileDir(): TileList() {
@@ -227,7 +227,7 @@ void FileManager::TileDir::resizeEvent(int w, int h) {
FileManager::FileManager() { FileManager::FileManager() {
setName("FileManager"); setName("FileManager");
CONNECTU(&screen, keyPressed, this, keyEvent) //CONNECTU(screen, keyPressed, this, keyEvent)
//dir.setDir("/home/peri4/Documents"); //dir.setDir("/home/peri4/Documents");
TileSimple * tl; TileSimple * tl;