mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
@@ -252,7 +252,7 @@ int main(int argc, char** argv)
|
||||
std::cout << "extract to folder: " << std::endl;
|
||||
QStringList filenames = directory.entryList(QStringList() << "*", QDir::Files, QDir::Name | QDir::IgnoreCase);
|
||||
QString destFileName;
|
||||
foreach (const QString & filename, filenames)
|
||||
for (const QString & filename : filenames)
|
||||
{
|
||||
destFileName = destDir.dirName()+"/"+filename;
|
||||
if (QFile::exists(destFileName))
|
||||
|
@@ -169,10 +169,10 @@ void SysTray::clearEfxColor()
|
||||
_hyperion->clear(1);
|
||||
}
|
||||
|
||||
void SysTray::handleInstanceStateChange(const instanceState& state, const quint8& instance, const QString& name)
|
||||
void SysTray::handleInstanceStateChange(const InstanceState& state, const quint8& instance, const QString& name)
|
||||
{
|
||||
switch(state){
|
||||
case H_STARTED:
|
||||
case InstanceState::H_STARTED:
|
||||
if(instance == 0)
|
||||
{
|
||||
_hyperion = _instanceManager->getHyperionInstance(0);
|
||||
|
@@ -39,7 +39,7 @@ private slots:
|
||||
///
|
||||
/// @brief is called whenever a hyperion isntance state changes
|
||||
///
|
||||
void handleInstanceStateChange(const instanceState& state, const quint8& instance, const QString& name);
|
||||
void handleInstanceStateChange(const InstanceState& state, const quint8& instance, const QString& name);
|
||||
|
||||
private:
|
||||
void createTrayIcon();
|
||||
|
Reference in New Issue
Block a user