mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-21 07:20:28 -05:00
Rename x11 auto-type plugin to xcb.
This matches what QGuiApplication::platformName() returns.
This commit is contained in:
parent
20b13a4a2e
commit
ba1ca4ec08
9 changed files with 12 additions and 33 deletions
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
#include "Tools.h"
|
||||
|
||||
#include <QApplication>
|
||||
#include <QCoreApplication>
|
||||
#include <QImageReader>
|
||||
#include <QIODevice>
|
||||
#include <QLocale>
|
||||
|
|
@ -192,26 +192,6 @@ void wait(int ms)
|
|||
}
|
||||
}
|
||||
|
||||
QString platform()
|
||||
{
|
||||
// TODO: move callers to QApplication::platformName()
|
||||
|
||||
QString platform = QApplication::platformName();
|
||||
|
||||
if (platform == "xcb") {
|
||||
return "x11";
|
||||
}
|
||||
else if (platform == "cocoa") {
|
||||
return "mac";
|
||||
}
|
||||
else if (platform == "windows") {
|
||||
return "win";
|
||||
}
|
||||
else {
|
||||
return platform;
|
||||
}
|
||||
}
|
||||
|
||||
void disableCoreDumps()
|
||||
{
|
||||
// default to true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue