ICore: Remove unused methods

Some didn't even have implementations anymore

Change-Id: I376cb12006c9b3ec8f6b2a75c38275cd92d2bbf6
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Eike Ziller
2016-09-26 14:00:20 +02:00
parent a6264dfd94
commit 9c9485e15b
4 changed files with 0 additions and 15 deletions

View File

@@ -321,8 +321,6 @@ ICore::ICore(MainWindow *mainwindow)
emit coreAboutToClose();
QCoreApplication::exit(failedTests);
});
connect(m_mainwindow, &MainWindow::newItemDialogRunningChanged,
this, &ICore::newItemDialogRunningChanged);
}
ICore::~ICore()

View File

@@ -152,8 +152,6 @@ public:
private:
static void validateNewItemDialogIsRunning();
static void newItemDialogOpened();
static void newItemDialogClosed();
};
} // namespace Core

View File

@@ -1158,12 +1158,5 @@ void MainWindow::restoreWindowState()
m_statusBarManager->restoreSettings();
}
void MainWindow::newItemDialogFinished()
{
m_newAction->setEnabled(true);
// fire signal when the dialog is actually destroyed
QTimer::singleShot(0, this, &MainWindow::newItemDialogRunningChanged);
}
} // namespace Internal
} // namespace Core

View File

@@ -113,9 +113,6 @@ public:
void saveSettings();
signals:
void newItemDialogRunningChanged();
public slots:
void openFileWith();
void exit();
@@ -142,7 +139,6 @@ private:
void destroyVersionDialog();
void openDroppedFiles(const QList<Utils::DropSupport::FileSpec> &files);
void restoreWindowState();
void newItemDialogFinished();
void updateContextObject(const QList<IContext *> &context);
void updateContext();