mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Untangle Profile from MainWindow: files on command line
There's no reason why this should be on the MainWindow widget. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
533d724d1b
commit
081295cb40
5 changed files with 18 additions and 15 deletions
|
@ -317,16 +317,6 @@ void MainWindow::setDefaultState() {
|
|||
}
|
||||
}
|
||||
|
||||
void MainWindow::setLoadedWithFiles(bool f)
|
||||
{
|
||||
filesAsArguments = f;
|
||||
}
|
||||
|
||||
bool MainWindow::filesFromCommandLine() const
|
||||
{
|
||||
return filesAsArguments;
|
||||
}
|
||||
|
||||
MainWindow *MainWindow::instance()
|
||||
{
|
||||
return m_Instance;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue