mirror of
https://github.com/martravi/wiiqt.git
synced 2024-11-22 00:59:18 +01:00
* ohneschwanzenegger: fix possible crash, use const reference when installing shared contents
This commit is contained in:
parent
32cf8113e4
commit
15d6ba4344
File diff suppressed because it is too large
Load Diff
@ -44,15 +44,15 @@ private:
|
|||||||
|
|
||||||
bool InstallNUSItem( NusJob job );
|
bool InstallNUSItem( NusJob job );
|
||||||
quint16 CreateIfNeeded( const QString &path, quint32 uid, quint16 gid, quint8 attr, quint8 user_perm, quint8 group_perm, quint8 other_perm );
|
quint16 CreateIfNeeded( const QString &path, quint32 uid, quint16 gid, quint8 attr, quint8 user_perm, quint8 group_perm, quint8 other_perm );
|
||||||
bool InstallSharedContent( const QByteArray stuff, const QByteArray hash = QByteArray() );
|
bool InstallSharedContent( const QByteArray &stuff, const QByteArray &hash = QByteArray() );
|
||||||
|
|
||||||
void SaveSettings();
|
void SaveSettings();
|
||||||
void LoadSettings();
|
void LoadSettings();
|
||||||
#if 0
|
#if 0
|
||||||
void TryToAddDefaultSettings();
|
void TryToAddDefaultSettings();
|
||||||
#endif
|
#endif
|
||||||
void AddStuffToMetaFolder();
|
void AddStuffToMetaFolder();
|
||||||
QByteArray GenMeta( const QString &desc, quint64 tid, quint16 version );
|
QByteArray GenMeta( const QString &desc, quint64 tid, quint16 version );
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
//slots for getting info from the NUS downloader
|
//slots for getting info from the NUS downloader
|
||||||
@ -62,9 +62,9 @@ public slots:
|
|||||||
void ReceiveTitleFromNus( NusJob job );
|
void ReceiveTitleFromNus( NusJob job );
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void on_actionFormat_triggered();
|
void on_actionFormat_triggered();
|
||||||
void on_actionWrite_meta_entries_triggered();
|
void on_actionWrite_meta_entries_triggered();
|
||||||
void on_pushButton_CachePathBrowse_clicked();
|
void on_pushButton_CachePathBrowse_clicked();
|
||||||
void on_actionAbout_triggered();
|
void on_actionAbout_triggered();
|
||||||
void on_pushButton_initNand_clicked();
|
void on_pushButton_initNand_clicked();
|
||||||
void on_actionNew_nand_from_keys_triggered();
|
void on_actionNew_nand_from_keys_triggered();
|
||||||
|
Loading…
Reference in New Issue
Block a user