forked from qt-creator/qt-creator
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:
@@ -321,8 +321,6 @@ ICore::ICore(MainWindow *mainwindow)
|
||||
emit coreAboutToClose();
|
||||
QCoreApplication::exit(failedTests);
|
||||
});
|
||||
connect(m_mainwindow, &MainWindow::newItemDialogRunningChanged,
|
||||
this, &ICore::newItemDialogRunningChanged);
|
||||
}
|
||||
|
||||
ICore::~ICore()
|
||||
|
@@ -152,8 +152,6 @@ public:
|
||||
|
||||
private:
|
||||
static void validateNewItemDialogIsRunning();
|
||||
static void newItemDialogOpened();
|
||||
static void newItemDialogClosed();
|
||||
};
|
||||
|
||||
} // namespace Core
|
||||
|
@@ -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
|
||||
|
@@ -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();
|
||||
|
Reference in New Issue
Block a user