Merge pull request #1304 from Ashark/wayland_warning
Add warning on wayland, fix #247
This commit is contained in:
commit
4dfe1b1a73
|
@ -97,6 +97,12 @@ int main(int argc, char* argv[])
|
||||||
|
|
||||||
QApplication::setQuitOnLastWindowClosed(false);
|
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;
|
QSettings settings;
|
||||||
AppConfig appConfig (&settings);
|
AppConfig appConfig (&settings);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue