From b8df480d60f2bb374902b72805e12ac8048c8a81 Mon Sep 17 00:00:00 2001 From: Chih-Hsuan Yen Date: Sun, 30 Sep 2018 03:07:38 +0800 Subject: [PATCH] Drop the ability to bundle kb-layouts and colorschemes --- lib/color-schemes/color-schemes.qrc | 25 ------------------------- lib/kb-layouts/kb-layouts.qrc | 10 ---------- lib/tools.cpp | 8 -------- 3 files changed, 43 deletions(-) delete mode 100644 lib/color-schemes/color-schemes.qrc delete mode 100644 lib/kb-layouts/kb-layouts.qrc diff --git a/lib/color-schemes/color-schemes.qrc b/lib/color-schemes/color-schemes.qrc deleted file mode 100644 index 2fa1035..0000000 --- a/lib/color-schemes/color-schemes.qrc +++ /dev/null @@ -1,25 +0,0 @@ - - - BlackOnLightYellow.schema - BlackOnRandomLight.colorscheme - Linux.colorscheme - BlackOnWhite.schema - DarkPastels.colorscheme - GreenOnBlack.colorscheme - WhiteOnBlack.schema - BreezeModified.schema - historic/vim.schema - historic/Transparent.schema - historic/Transparent_MC.schema - historic/Linux.schema - historic/Transparent_darkbg.schema - historic/GreenTint.schema - historic/Transparent_lightbg.schema - historic/LightPicture.schema - historic/DarkPicture.schema - historic/syscolor.schema - historic/XTerm.schema - historic/BlackOnLightColor.schema - historic/GreenTint_MC.schema - historic/GreenOnBlack.schema - diff --git a/lib/kb-layouts/kb-layouts.qrc b/lib/kb-layouts/kb-layouts.qrc deleted file mode 100644 index ce85691..0000000 --- a/lib/kb-layouts/kb-layouts.qrc +++ /dev/null @@ -1,10 +0,0 @@ - - - linux.keytab - solaris.keytab - macbook.keytab - default.keytab - vt420pc.keytab - historic/x11r5.keytab - historic/vt100.keytab - diff --git a/lib/tools.cpp b/lib/tools.cpp index c82fc65..055bc30 100644 --- a/lib/tools.cpp +++ b/lib/tools.cpp @@ -11,9 +11,6 @@ But in some cases (apple bundle) there can be more locations). */ QString get_kb_layout_dir() { -#ifdef BUNDLE_KEYBOARDLAYOUTS - return QLatin1String(":/"); -#else // qDebug() << __FILE__ << __FUNCTION__; QString rval = QString(); @@ -40,7 +37,6 @@ QString get_kb_layout_dir() #endif qDebug() << "Cannot find KB_LAYOUT_DIR. Default:" << k; return QString(); -#endif // BUNDLE_KEYBOARDLAYOUTS } /*! Helper function to add custom location of color schemes. @@ -60,9 +56,6 @@ But in some cases (apple bundle) there can be more locations). */ const QStringList get_color_schemes_dirs() { -#ifdef BUNDLE_COLORSCHEMES - return QLatin1String(":/"); -#else // qDebug() << __FILE__ << __FUNCTION__; QStringList rval; @@ -106,5 +99,4 @@ const QStringList get_color_schemes_dirs() } #endif return rval; -#endif // BUNDLE_COLORSCHEMES }