summaryrefslogtreecommitdiffhomepage
path: root/proto-flightgear/ftnoir_protocol_fg_dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'proto-flightgear/ftnoir_protocol_fg_dialog.cpp')
-rw-r--r--proto-flightgear/ftnoir_protocol_fg_dialog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/proto-flightgear/ftnoir_protocol_fg_dialog.cpp b/proto-flightgear/ftnoir_protocol_fg_dialog.cpp
index 43a702f6..d2098577 100644
--- a/proto-flightgear/ftnoir_protocol_fg_dialog.cpp
+++ b/proto-flightgear/ftnoir_protocol_fg_dialog.cpp
@@ -10,7 +10,7 @@
*/
#include "ftnoir_protocol_fg.h"
#include "api/plugin-api.hpp"
-#include "opentrack-library-path.h"
+#include "compat/library-path.hpp"
#include <QString>
#include <QUrl>
@@ -37,10 +37,10 @@ FGControls::FGControls()
connect(ui.buttonBox, SIGNAL(accepted()), this, SLOT(doOK()));
connect(ui.buttonBox, SIGNAL(rejected()), this, SLOT(doCancel()));
connect(ui.buttonBox, &QDialogButtonBox::helpRequested,
- ui.buttonBox, []()
- {
- static const QString contrib_dir = "file:///" + QDir::toNativeSeparators(QStringLiteral("%1/%2/%3").
- arg(OPENTRACK_BASE_PATH, OPENTRACK_CONTRIB_PATH, "FlightGear"));
+ ui.buttonBox, [] {
+ static const QString contrib_dir =
+ "file:///" + QDir::toNativeSeparators(QStringLiteral("%1/%2/%3").
+ arg(OPENTRACK_BASE_PATH, OPENTRACK_CONTRIB_PATH, "FlightGear"));
QDesktopServices::openUrl(contrib_dir);
});
}