Fix EOL
parent
dcab2e1025
commit
6270e39990
|
|
@ -197,8 +197,8 @@ void ColladaExportFloater::updateUI()
|
|||
|
||||
void ColladaExportFloater::onClickExport()
|
||||
{
|
||||
(new LLFilePickerReplyThread(boost::bind(&ColladaExportFloater::onExportFileSelected, this, _1),
|
||||
LLFilePicker::FFSAVE_COLLADA, LLDir::getScrubbedFileName(mObjectName + ".dae")))->getFile();
|
||||
(new LLFilePickerReplyThread(boost::bind(&ColladaExportFloater::onExportFileSelected, this, _1),
|
||||
LLFilePicker::FFSAVE_COLLADA, LLDir::getScrubbedFileName(mObjectName + ".dae")))->getFile();
|
||||
}
|
||||
|
||||
void ColladaExportFloater::onExportFileSelected(const std::vector<std::string>& filenames)
|
||||
|
|
|
|||
|
|
@ -1083,8 +1083,8 @@ void FSFloaterObjectExport::updateUI()
|
|||
|
||||
void FSFloaterObjectExport::onClickExport()
|
||||
{
|
||||
(new LLFilePickerReplyThread(boost::bind(&FSFloaterObjectExport::onExportFileSelected, this, _1),
|
||||
LLFilePicker::FFSAVE_EXPORT, LLDir::getScrubbedFileName(mObjectName + ".oxp")))->getFile();
|
||||
(new LLFilePickerReplyThread(boost::bind(&FSFloaterObjectExport::onExportFileSelected, this, _1),
|
||||
LLFilePicker::FFSAVE_EXPORT, LLDir::getScrubbedFileName(mObjectName + ".oxp")))->getFile();
|
||||
}
|
||||
|
||||
void FSFloaterObjectExport::onExportFileSelected(const std::vector<std::string>& filenames)
|
||||
|
|
|
|||
|
|
@ -1721,12 +1721,12 @@ void LLFloaterPreference::onClickSetSoundCache()
|
|||
std::string cur_name(gSavedSettings.getString("FSSoundCacheLocation"));
|
||||
std::string proposed_name(cur_name);
|
||||
|
||||
(new LLDirPickerThread(boost::bind(&LLFloaterPreference::changeSoundCachePath, this, _1, _2), proposed_name))->getFile();
|
||||
(new LLDirPickerThread(boost::bind(&LLFloaterPreference::changeSoundCachePath, this, _1, _2), proposed_name))->getFile();
|
||||
}
|
||||
|
||||
void LLFloaterPreference::changeSoundCachePath(const std::vector<std::string>& filenames, std::string proposed_name)
|
||||
{
|
||||
std::string dir_name = filenames[0];
|
||||
std::string dir_name = filenames[0];
|
||||
if (!dir_name.empty() && dir_name != proposed_name)
|
||||
{
|
||||
gSavedSettings.setString("FSSoundCacheLocation", dir_name);
|
||||
|
|
@ -1830,12 +1830,12 @@ void LLFloaterPreference::setPreprocInclude()
|
|||
{
|
||||
std::string cur_name(gSavedSettings.getString("_NACL_PreProcHDDIncludeLocation"));
|
||||
std::string proposed_name(cur_name);
|
||||
|
||||
(new LLDirPickerThread(boost::bind(&LLFloaterPreference::changePreprocIncludePath, this, _1, _2), proposed_name))->getFile();
|
||||
|
||||
(new LLDirPickerThread(boost::bind(&LLFloaterPreference::changePreprocIncludePath, this, _1, _2), proposed_name))->getFile();
|
||||
}
|
||||
|
||||
void LLFloaterPreference::changePreprocIncludePath(const std::vector<std::string>& filenames, std::string proposed_name)
|
||||
{
|
||||
void LLFloaterPreference::changePreprocIncludePath(const std::vector<std::string>& filenames, std::string proposed_name)
|
||||
{
|
||||
std::string dir_name = filenames[0];
|
||||
if (!dir_name.empty() && dir_name != proposed_name)
|
||||
{
|
||||
|
|
@ -4873,7 +4873,7 @@ BOOL FSPanelPreferenceBackup::postBuild()
|
|||
void FSPanelPreferenceBackup::onClickSetBackupSettingsPath()
|
||||
{
|
||||
std::string dir_name = gSavedSettings.getString("SettingsBackupPath");
|
||||
(new LLDirPickerThread(boost::bind(&FSPanelPreferenceBackup::changeBackupSettingsPath, this, _1, _2), dir_name))->getFile();
|
||||
(new LLDirPickerThread(boost::bind(&FSPanelPreferenceBackup::changeBackupSettingsPath, this, _1, _2), dir_name))->getFile();
|
||||
}
|
||||
|
||||
void FSPanelPreferenceBackup::changeBackupSettingsPath(const std::vector<std::string>& filenames, std::string proposed_name)
|
||||
|
|
|
|||
|
|
@ -197,7 +197,7 @@ public:
|
|||
// void onClickSetSounds(); //<FS:KC> Handled centrally now
|
||||
void onClickPreviewUISound(const LLSD& ui_sound_id); // <FS:PP> FIRE-8190: Preview function for "UI Sounds" Panel
|
||||
void setPreprocInclude();
|
||||
void changePreprocIncludePath(const std::vector<std::string>& filenames, std::string proposed_name);
|
||||
void changePreprocIncludePath(const std::vector<std::string>& filenames, std::string proposed_name);
|
||||
void onClickEnablePopup();
|
||||
void onClickDisablePopup();
|
||||
void resetAllIgnored();
|
||||
|
|
|
|||
|
|
@ -92,8 +92,8 @@ void LLFloaterScriptEdPrefs::setPreprocInclude()
|
|||
{
|
||||
std::string cur_name(gSavedSettings.getString("_NACL_PreProcHDDIncludeLocation"));
|
||||
std::string proposed_name(cur_name);
|
||||
|
||||
(new LLDirPickerThread(boost::bind(&LLFloaterScriptEdPrefs::changePreprocIncludePath, this, _1, _2), proposed_name))->getFile();
|
||||
|
||||
(new LLDirPickerThread(boost::bind(&LLFloaterScriptEdPrefs::changePreprocIncludePath, this, _1, _2), proposed_name))->getFile();
|
||||
}
|
||||
|
||||
void LLFloaterScriptEdPrefs::changePreprocIncludePath(const std::vector<std::string>& filenames, std::string proposed_name)
|
||||
|
|
|
|||
Loading…
Reference in New Issue