Add resource files and the appropriate paths to enable bundling of color schemes

and keyboard layouts into the actual executable.
This commit is contained in:
Adam Treat
2012-01-21 15:32:10 -05:00
parent b306ff7192
commit 330c8e4402
3 changed files with 36 additions and 2 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ But in some cases (apple bundle) there can be more locations).
QString get_kb_layout_dir()
{
#ifdef BUNDLE_KEYBOARDLAYOUTS
return QString();
return QLatin1String(":/");
#else
// qDebug() << __FILE__ << __FUNCTION__;
@@ -53,7 +53,7 @@ But in some cases (apple bundle) there can be more locations).
QString get_color_schemes_dir()
{
#ifdef BUNDLE_COLORSCHEMES
return QString();
return QLatin1String(":/");
#else
// qDebug() << __FILE__ << __FUNCTION__;