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();
|
emit coreAboutToClose();
|
||||||
QCoreApplication::exit(failedTests);
|
QCoreApplication::exit(failedTests);
|
||||||
});
|
});
|
||||||
connect(m_mainwindow, &MainWindow::newItemDialogRunningChanged,
|
|
||||||
this, &ICore::newItemDialogRunningChanged);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ICore::~ICore()
|
ICore::~ICore()
|
||||||
|
@@ -152,8 +152,6 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
static void validateNewItemDialogIsRunning();
|
static void validateNewItemDialogIsRunning();
|
||||||
static void newItemDialogOpened();
|
|
||||||
static void newItemDialogClosed();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace Core
|
} // namespace Core
|
||||||
|
@@ -1158,12 +1158,5 @@ void MainWindow::restoreWindowState()
|
|||||||
m_statusBarManager->restoreSettings();
|
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 Internal
|
||||||
} // namespace Core
|
} // namespace Core
|
||||||
|
@@ -113,9 +113,6 @@ public:
|
|||||||
|
|
||||||
void saveSettings();
|
void saveSettings();
|
||||||
|
|
||||||
signals:
|
|
||||||
void newItemDialogRunningChanged();
|
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
void openFileWith();
|
void openFileWith();
|
||||||
void exit();
|
void exit();
|
||||||
@@ -142,7 +139,6 @@ private:
|
|||||||
void destroyVersionDialog();
|
void destroyVersionDialog();
|
||||||
void openDroppedFiles(const QList<Utils::DropSupport::FileSpec> &files);
|
void openDroppedFiles(const QList<Utils::DropSupport::FileSpec> &files);
|
||||||
void restoreWindowState();
|
void restoreWindowState();
|
||||||
void newItemDialogFinished();
|
|
||||||
|
|
||||||
void updateContextObject(const QList<IContext *> &context);
|
void updateContextObject(const QList<IContext *> &context);
|
||||||
void updateContext();
|
void updateContext();
|
||||||
|
Reference in New Issue
Block a user