From 081295cb406f5284b8aae3ef0dcbcdad01241179 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 5 Nov 2015 10:05:22 -0800 Subject: 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 --- desktop-widgets/mainwindow.cpp | 10 ---------- desktop-widgets/mainwindow.h | 2 -- 2 files changed, 12 deletions(-) (limited to 'desktop-widgets') 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; diff --git a/desktop-widgets/mainwindow.h b/desktop-widgets/mainwindow.h index 02ec2478c..05844fbd6 100644 --- a/desktop-widgets/mainwindow.h +++ b/desktop-widgets/mainwindow.h @@ -88,8 +88,6 @@ public: void setToolButtonsEnabled(bool enabled); ProfileWidget2 *graphics() const; PlannerDetails *plannerDetails() const; - void setLoadedWithFiles(bool filesFromCommandLine); - bool filesFromCommandLine() const; void printPlan(); void checkSurvey(QSettings *s); void setApplicationState(const QByteArray& state); -- cgit v1.2.3-70-g09d2