Replace getenv("HOME") by RDGetHomeDir() in MainWidget::LoadGeometry/SaveGeometry. Create MainWidget::GeometryFile to share logic

This commit is contained in:
Alban Peignier
2014-09-05 10:18:01 +02:00
parent eb8e95d994
commit ea10c041fb
2 changed files with 16 additions and 7 deletions

View File

@@ -126,6 +126,7 @@ class MainWidget : public QWidget
RDListViewItem *GetItem(int id);
int GetMonitor(int serial,int chan);
int GetConnection(QString station,unsigned chan=0);
QString GeometryFile();
void LoadGeometry();
void SaveGeometry();
std::vector<CatchMonitor *> catch_monitor;