diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-10-14 19:58:08 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-10-14 19:58:08 +0000 |
commit | 082f536b5bfcf71bec5e04b940328de7894f4513 (patch) | |
tree | ce30da96cc4755c2d8876d5d2ceed2aeefc9e23b /konsole/konsole/main.cpp | |
parent | 168f63d2ca18b82fa2921377dcea03701ad6bdbc (diff) | |
download | tdebase-082f536b5bfcf71bec5e04b940328de7894f4513.tar.gz tdebase-082f536b5bfcf71bec5e04b940328de7894f4513.zip |
Fix konsole startup on session resume when ARGB visuals are enabled
Fix konsole FTBFS if COMPOSITE extension is not available
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1258919 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konsole/konsole/main.cpp')
-rw-r--r-- | konsole/konsole/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/konsole/konsole/main.cpp b/konsole/konsole/main.cpp index 1d0fdbb48..1f40e8c14 100644 --- a/konsole/konsole/main.cpp +++ b/konsole/konsole/main.cpp @@ -252,7 +252,7 @@ extern "C" int KDE_EXPORT kdemain(int argc, char* argv[]) a = new KApplication(KApplication::openX11RGBADisplay()); argb_visual = a->isX11CompositionAvailable(); #else - KApplication* a = new KApplication; + a = new KApplication; #endif TQString dataPathBase = KStandardDirs::kde_default("data").append("konsole/"); |