mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
DolphinQt2: move path signals from PathDialog to Settings
This commit is contained in:
parent
548522877a
commit
47e8cb97b4
8 changed files with 36 additions and 32 deletions
|
@ -40,7 +40,6 @@ MainWindow::MainWindow() : QMainWindow(nullptr)
|
|||
CreateComponents();
|
||||
|
||||
ConnectGameList();
|
||||
ConnectPathsDialog();
|
||||
ConnectToolBar();
|
||||
ConnectRenderWidget();
|
||||
ConnectStack();
|
||||
|
@ -169,12 +168,6 @@ void MainWindow::ConnectStack()
|
|||
setCentralWidget(m_stack);
|
||||
}
|
||||
|
||||
void MainWindow::ConnectPathsDialog()
|
||||
{
|
||||
connect(m_paths_dialog, &PathDialog::PathAdded, m_game_list, &GameList::DirectoryAdded);
|
||||
connect(m_paths_dialog, &PathDialog::PathRemoved, m_game_list, &GameList::DirectoryRemoved);
|
||||
}
|
||||
|
||||
void MainWindow::Open()
|
||||
{
|
||||
QString file = QFileDialog::getOpenFileName(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue