mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1665 Add setStartDir command to command file interface
This commit is contained in:
@@ -1835,6 +1835,14 @@ std::vector<QAction*> RiaApplication::recentFileActions() const
|
||||
return m_recentFileActionProvider->actions();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiaApplication::setStartDir(const QString& startDir)
|
||||
{
|
||||
m_startupDefaultDirectory = startDir;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -194,6 +194,8 @@ public:
|
||||
void addToRecentFiles(const QString& fileName);
|
||||
std::vector<QAction*> recentFileActions() const;
|
||||
|
||||
void setStartDir(const QString& startDir);
|
||||
|
||||
private:
|
||||
enum ProjectLoadAction
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user