summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/mainwindow.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-05 10:05:22 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-05 13:45:50 -0800
commit081295cb406f5284b8aae3ef0dcbcdad01241179 (patch)
treeb19a0fae132c52ea8e8c9d95c98287c638e73476 /desktop-widgets/mainwindow.cpp
parent533d724d1b4380741ce7db91c39262df6c0df062 (diff)
downloadsubsurface-081295cb406f5284b8aae3ef0dcbcdad01241179.tar.gz
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>
Diffstat (limited to 'desktop-widgets/mainwindow.cpp')
-rw-r--r--desktop-widgets/mainwindow.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/desktop-widgets/mainwindow.cpp b/desktop-widgets/mainwindow.cpp
index dc45d1d8d..32ad5e30a 100644
--- a/desktop-widgets/mainwindow.cpp
+++ b/desktop-widgets/mainwindow.cpp
@@ -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;