author | harlekin <harlekin> | 2002-10-24 16:14:42 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-10-24 16:14:42 (UTC) |
commit | 07811d76c261ece00a45589a2eb9d2bb8971943e (patch) (side-by-side diff) | |
tree | 15a9c09878ff84c91b6ca0de7b7ed3ba4ff393ae /noncore/apps/opie-console/function_keyboard.h | |
parent | 1cc47fb5ca1516eb1c427666ca2bb650af271d0a (diff) | |
download | opie-07811d76c261ece00a45589a2eb9d2bb8971943e.zip opie-07811d76c261ece00a45589a2eb9d2bb8971943e.tar.gz opie-07811d76c261ece00a45589a2eb9d2bb8971943e.tar.bz2 |
better use resource::
Diffstat (limited to 'noncore/apps/opie-console/function_keyboard.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/function_keyboard.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/function_keyboard.h b/noncore/apps/opie-console/function_keyboard.h index 7f313d6..80d9f29 100644 --- a/noncore/apps/opie-console/function_keyboard.h +++ b/noncore/apps/opie-console/function_keyboard.h @@ -2,6 +2,7 @@ #define OPIE_FUNCTION_KEYBOARD_H #include <qpe/config.h> +#include <qpe/resource.h> #include <qpe/qpeapplication.h> #include <qframe.h> #include <qpainter.h> @@ -21,8 +22,7 @@ struct FKey { if (!f.isEmpty()) { - pix = new QPixmap (QPEApplication::qpeDir() + "pics/console/keys/" + f); - + pix = new QPixmap ( Resource::loadPixmap("console/keys/" + f ) ); } }; |