summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/mainwindow.cpp10
-rw-r--r--desktop-widgets/mainwindow.h2
2 files changed, 0 insertions, 12 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;
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);