forked from len0rd/rockbox
Fix a couple of warnings and remove an unused variable.
Change-Id: I1617ef882e9bcaaaafe58a932fadd803851ec88f
This commit is contained in:
parent
c659f9979a
commit
4d96b4c7b0
5 changed files with 5 additions and 8 deletions
|
@ -67,9 +67,6 @@ class TTSCarbon : public TTSBase
|
|||
unsigned int extended2int(unsigned char* buf);
|
||||
int convertAiffToWav(const char* aiff, const char* wav);
|
||||
|
||||
|
||||
protected:
|
||||
// static QMap<QString,QString> ttsList;
|
||||
};
|
||||
|
||||
#endif // TTSCARBON_H
|
||||
|
|
|
@ -26,10 +26,9 @@
|
|||
|
||||
class TTSMssp: public TTSSapi
|
||||
{
|
||||
//! Enum to identify the settings
|
||||
Q_OBJECT
|
||||
public:
|
||||
TTSMssp(QObject* parent=NULL)
|
||||
TTSMssp(QObject* parent=NULL) : TTSSapi(parent)
|
||||
{
|
||||
m_TTSTemplate = "cscript //nologo \"%exe\" "
|
||||
"/language:%lang /voice:\"%voice\" "
|
||||
|
|
|
@ -26,10 +26,9 @@
|
|||
|
||||
class TTSSapi4: public TTSSapi
|
||||
{
|
||||
//! Enum to identify the settings
|
||||
Q_OBJECT
|
||||
public:
|
||||
TTSSapi4(QObject* parent=NULL)
|
||||
TTSSapi4(QObject* parent=NULL) : TTSSapi(parent)
|
||||
{
|
||||
m_TTSTemplate = "cscript //nologo \"%exe\" "
|
||||
"/language:%lang /voice:\"%voice\" "
|
||||
|
|
|
@ -787,6 +787,9 @@ bool Utils::ejectDevice(QString device)
|
|||
if(result == noErr && found)
|
||||
return true;
|
||||
|
||||
#endif
|
||||
#if defined(Q_OS_LINUX)
|
||||
(void)device;
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -46,7 +46,6 @@ class ZipUtil : public QObject
|
|||
private:
|
||||
QList<QuaZipFileInfo> contentProperties();
|
||||
QuaZip* m_zip;
|
||||
QuaZipFile* m_file;
|
||||
|
||||
};
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue