mirror of
https://github.com/opentx/opentx.git
synced 2025-07-25 17:25:13 +03:00
Changed every single QSetting in Companion.
Next step: Function renaming
This commit is contained in:
parent
f617ae1362
commit
da68c593cf
28 changed files with 1048 additions and 924 deletions
|
@ -75,7 +75,7 @@ CustomFunctionsPanel::CustomFunctionsPanel(QWidget * parent, ModelData & model,
|
|||
}
|
||||
}
|
||||
|
||||
QString path = glob.pro[glob.profileId()].sdPath();
|
||||
QString path = g.profile[g.id()].sdPath();
|
||||
path.append("/SOUNDS/");
|
||||
QString lang = generalSettings.ttsLanguage;
|
||||
if (lang.isEmpty())
|
||||
|
@ -225,7 +225,7 @@ void CustomFunctionsPanel::playMusic()
|
|||
QPushButton *playButton = qobject_cast<QPushButton*>(sender());
|
||||
int index=playButton->objectName().mid(5,2).toInt();
|
||||
QString function=playButton->objectName().left(4);
|
||||
QString path = glob.pro[glob.profileId()].sdPath();
|
||||
QString path = g.profile[g.id()].sdPath();
|
||||
QDir qd(path);
|
||||
QString track;
|
||||
if (qd.exists()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue