| 2781 | } |
| 2782 | |
| 2783 | void MainWin::importKaggleDatasetDialog() { |
| 2784 | DEBUG(Q_FUNC_INFO); |
| 2785 | |
| 2786 | if (ImportKaggleDatasetDialog::checkKaggle()) { |
| 2787 | auto* dlg = new ImportKaggleDatasetDialog(this); |
| 2788 | dlg->exec(); |
| 2789 | } else { |
| 2790 | QMessageBox::critical(this, |
| 2791 | i18n("Kaggle CLI tool not found"), |
| 2792 | i18n("Provide the path to the Kaggle CLI tool in the application settings and try again.")); |
| 2793 | auto* dlg = new SettingsDialog(this, m_defaultSystemLocale); |
| 2794 | connect(dlg, &SettingsDialog::settingsChanged, this, &MainWin::handleSettingsChanges); |
| 2795 | dlg->navigateTo(Settings::Type::Datasets); |
| 2796 | dlg->exec(); |
| 2797 | } |
| 2798 | |
| 2799 | DEBUG(Q_FUNC_INFO << " DONE"); |
| 2800 | } |
| 2801 | |
| 2802 | void MainWin::importSqlDialog() { |
| 2803 | DEBUG(Q_FUNC_INFO); |
nothing calls this directly
no test coverage detected