GloSC-Main: User setting to disable Steam hook

UWP_Overlay
Peter Repukat 8 years ago
parent f3aa9b2d67
commit 4ba0b3a7e7

@ -54,7 +54,7 @@ void GloSC::writeIni(QString entryName)
settings.setValue("bEnableOverlay", 0 + ui.cbOverlay->isChecked());
settings.setValue("bEnableControllers", 0 + ui.cbControllers->isChecked());
settings.setValue("bHookSteam", 1);
settings.setValue("bHookSteam", 0 + ui.cbHookSteam->isChecked());
settings.setValue("version", GLOSC_VERSION);
settings.endGroup();
@ -201,7 +201,7 @@ void GloSC::on_pbAddToSteam_clicked()
if (!shortcutsFile.exists())
{
QMessageBox::information(this, "GloSC", "Couldn't detect Steam shortcuts file!", QMessageBox::Ok);
QMessageBox::information(this, "GloSC", "Couldn't detect Steam shortcuts file!\nSteam must be running for it to be detected", QMessageBox::Ok);
return;
}
if (!shortcutsFile.open(QFile::ReadWrite))
@ -424,6 +424,7 @@ void GloSC::on_lwInstances_currentRowChanged(int row)
ui.cbOverlay->setChecked(settings.value("bEnableOverlay").toBool());
ui.cbControllers->setChecked(settings.value("bEnableControllers").toBool());
ui.cbHookSteam->setChecked(settings.value("bHookSteam").toBool());
settings.endGroup();

@ -247,6 +247,23 @@
(Disable for Uplay-games!)</string>
</property>
</widget>
<widget class="QCheckBox" name="cbHookSteam">
<property name="geometry">
<rect>
<x>10</x>
<y>140</y>
<width>371</width>
<height>51</height>
</rect>
</property>
<property name="text">
<string>Hook Steam
Enforces bindings by hooking into Steam</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</widget>
</widget>
</widget>

Loading…
Cancel
Save