mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-11-18 06:02:02 +01:00
29 lines
642 B
C++
29 lines
642 B
C++
// Copyright 2025 Dolphin Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <QLineEdit>
|
|
|
|
#include "Common/Config/ConfigInfo.h"
|
|
|
|
#include "DolphinQt/Config/ConfigControls/ConfigText.h"
|
|
|
|
class ConfigUserPath final : public ConfigText
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
ConfigUserPath(const unsigned int dir_index, const Config::Info<std::string>& setting);
|
|
ConfigUserPath(const unsigned int dir_index, const Config::Info<std::string>& setting,
|
|
Config::Layer* layer);
|
|
|
|
protected:
|
|
void OnConfigChanged() override;
|
|
|
|
private:
|
|
void RefreshText();
|
|
void Update();
|
|
|
|
const unsigned int m_dir_index;
|
|
};
|