Add warning on wayland, fix #247

This commit is contained in:
Andrew Shark 2021-10-02 03:21:04 +03:00
parent dd8c2a1a38
commit 547a2dd413
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);