mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 11:25:33 +08:00
refs #887, skip copy steps if there is no other swift version to copy from
* pages as enum * buttons to copy/select/deselect (when UI component is used detached from wizard) * avoid crash when there is no other swift version (->empty model)
This commit is contained in:
committed by
Mathew Sutcliffe
parent
cb024b0245
commit
1076eb2b29
@@ -51,6 +51,9 @@ namespace BlackGui
|
||||
//! Init file content
|
||||
void initCurrentDirectories();
|
||||
|
||||
//! Are there other versions to copy from
|
||||
bool hasOtherVersionData() const;
|
||||
|
||||
private:
|
||||
//! The current version changed
|
||||
void currentVersionChanged(const QString &text);
|
||||
@@ -64,10 +67,10 @@ namespace BlackGui
|
||||
//! Get the selected files
|
||||
QStringList getSelectedFiles() const;
|
||||
|
||||
//! Combobox width
|
||||
//! Set calculated combobox width
|
||||
void setComboBoxWidth();
|
||||
|
||||
QStringList m_versionDirs;
|
||||
QStringList m_otherVersionDirs;
|
||||
QScopedPointer<Ui::CCopyConfigurationComponent> ui;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user