mirror of https://github.com/debauchee/barrier.git
Add warning on wayland, fix #247
This commit is contained in:
parent
dd8c2a1a38
commit
547a2dd413
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue