diff options
author | Anne Jan Brouwer <annejan@noprotocol.com> | 2015-06-11 00:29:20 +0200 |
---|---|---|
committer | Anne Jan Brouwer <annejan@noprotocol.com> | 2015-06-11 00:29:20 +0200 |
commit | ccda0323fdf150a70c619c5782fee3ff7c6e08c9 (patch) | |
tree | 74e8f9693d4d46d817a7e694eb015cbaa824a556 /main.cpp | |
parent | 183f5afb2c6339e78b67d2021af8b0b2b01a8b96 (diff) |
fixes after static analysis
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -41,12 +41,7 @@ int main(int argc, char *argv[]) app.setActiveWindow(&w); app.setWindowIcon(QIcon(":artwork/icon.png")); w.setApp(&app); - if (w.checkConfig()) { - w.setText(text); - w.show(); - return app.exec(); - } else { - // canceled out of wizard - return 0; - } + w.setText(text); + w.show(); + return app.exec(); } |