// Copyright (C) 2016 Orgad Shaneh . // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 #pragma once #include #include namespace Git { namespace Internal { class GitClient; } } namespace Gerrit { namespace Internal { class BranchComboBox : public QComboBox { public: explicit BranchComboBox(QWidget *parent = nullptr); void init(const Utils::FilePath &repository); private: Utils::FilePath m_repository; bool m_detached = false; }; } // namespace Internal } // namespace Gerrit