refs #485, adjusted samples

This commit is contained in:
Klaus Basan
2016-02-15 00:05:54 +01:00
committed by Mathew Sutcliffe
parent 3829aaeae8
commit 7a38afe8c3
16 changed files with 43 additions and 68 deletions

View File

@@ -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();