mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 04:45:31 +08:00
refs #485, adjusted samples
This commit is contained in:
committed by
Mathew Sutcliffe
parent
3829aaeae8
commit
7a38afe8c3
@@ -12,6 +12,7 @@
|
||||
#include "blackgui/enableforframelesswindow.h"
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QApplication>
|
||||
#include <QPushButton>
|
||||
#include <QProcessEnvironment>
|
||||
|
||||
@@ -21,8 +22,9 @@ using namespace BlackCore;
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
CSwiftGuiStdApplication a(argc, argv);
|
||||
a.startCoreFacade();
|
||||
QApplication qa(argc, argv);
|
||||
CSwiftGuiStdApplication a;
|
||||
if (!a.start()) { return EXIT_FAILURE; }
|
||||
|
||||
// show window
|
||||
CEnableForFramelessWindow::WindowMode windowMode = a.getWindowMode();
|
||||
|
||||
Reference in New Issue
Block a user