Merge pull request #1304 from Ashark/wayland_warning

Add warning on wayland, fix #247
This commit is contained in:
Dom Rodriguez 2021-10-23 16:19:43 +01:00 committed by GitHub
commit 4dfe1b1a73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -97,6 +97,12 @@ int main(int argc, char* argv[])
QApplication::setQuitOnLastWindowClosed(false);
if (QGuiApplication::platformName() == "wayland") {
QMessageBox::warning(
NULL, "Barrier",
"You are using wayland session, which is currently not fully supported by Barrier.");
}
QSettings settings;
AppConfig appConfig (&settings);