We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53d111c commit e803f47Copy full SHA for e803f47
1 file changed
ff-qtah/Main.hs
@@ -59,8 +59,12 @@ main = do
59
60
withApp :: (QApplication -> IO a) -> IO a
61
withApp action = do
62
+ prog <- getProgName
63
args <- getArgs
- withScopedPtr (QApplication.new args) action
64
+ -- let args'
65
+ -- | any ("-style" `isPrefixOf`) args = args
66
+ -- | otherwise = "-style=Fusion" : args
67
+ withScopedPtr (QApplication.new $ prog : args) action
68
69
setupApp :: IO ()
70
setupApp = do
0 commit comments