summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-31 17:36:26 -0600
committerSlávek Banko <slavek.banko@axis.cz>2015-12-24 02:20:19 +0100
commit3825ec9e3f9b1a815499b837af0b16d935f083db (patch)
tree1326fcc849ee056b136a7a03329c9fea618a0383
parent3c724bb9fbd8a4d11ff824cfaf200253f432b79e (diff)
downloadtdelibs-3825ec9e3f9b1a815499b837af0b16d935f083db.tar.gz
tdelibs-3825ec9e3f9b1a815499b837af0b16d935f083db.zip
Add tdelfeditor
(small portion of original commit) (cherry picked from commit d6a4fe9ca855e094bbfe2e1ba1bba565557b1891)
-rw-r--r--kdecore/kapplication.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/kdecore/kapplication.cpp b/kdecore/kapplication.cpp
index b7743f2a1..d8879517f 100644
--- a/kdecore/kapplication.cpp
+++ b/kdecore/kapplication.cpp
@@ -645,7 +645,8 @@ KApplication::KApplication( int& argc, char** argv, const TQCString& rAppName,
}
KApplication::KApplication( bool allowStyles, bool GUIenabled ) :
- TQApplication( *KCmdLineArgs::qt_argc(), *KCmdLineArgs::qt_argv(), TRUE ), // Qt4 requires that there always be a GUI
+// TQApplication( *KCmdLineArgs::qt_argc(), *KCmdLineArgs::qt_argv(), TRUE ), // Qt4 requires that there always be a GUI
+ TQApplication( *KCmdLineArgs::qt_argc(), *KCmdLineArgs::qt_argv(), GUIenabled ), // We need to be able to run command line apps
KInstance( KCmdLineArgs::about),
#ifdef Q_WS_X11
display(0L),