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:
Dirk Hohndel 2015-11-05 10:05:22 -08:00
parent 533d724d1b
commit 081295cb40
5 changed files with 18 additions and 15 deletions

View file

@ -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;

View file

@ -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);