From 0acaafd8cc8f5ebcade83e08a24953289451f098 Mon Sep 17 00:00:00 2001
From: Paul Olav Tvete <paul.tvete@qt.io>
Date: Tue, 22 May 2018 16:07:53 +0200
Subject: [PATCH] Remove calls to old QApplication functions

We do the right thing automatically these days
---
 t14/main.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/t14/main.cpp b/t14/main.cpp
index 376536a..83cad08 100644
--- a/t14/main.cpp
+++ b/t14/main.cpp
@@ -11,12 +11,10 @@
 
 int main( int argc, char **argv )
 {
-    QApplication::setColorMode( QApplication::CustomColors );
     QApplication a( argc, argv );
 
     GameBoard gb;
     gb.setGeometry( 100, 100, 500, 355 );
-    a.setMainWidget( &gb );
     gb.show();
     return a.exec();
 }
-- 
GitLab