Make widgets aware of qresources.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=816435
This commit is contained in:
parent
27fe9143ff
commit
834003d0dc
@ -108,7 +108,7 @@ void CheckBox::setImage(const QString &path)
|
||||
#ifdef Q_WS_WIN
|
||||
!QDir::isRelativePath(path)
|
||||
#else
|
||||
path[0] == '/'
|
||||
(path[0] == '/' || path.startsWith(":/"))
|
||||
#endif
|
||||
;
|
||||
|
||||
|
@ -114,7 +114,7 @@ void Label::setImage(const QString &path)
|
||||
#ifdef Q_WS_WIN
|
||||
!QDir::isRelativePath(path)
|
||||
#else
|
||||
path[0] == '/'
|
||||
(path[0] == '/' || path.startsWith(":/"))
|
||||
#endif
|
||||
;
|
||||
|
||||
|
@ -108,7 +108,7 @@ void PushButton::setImage(const QString &path)
|
||||
#ifdef Q_WS_WIN
|
||||
!QDir::isRelativePath(path)
|
||||
#else
|
||||
path[0] == '/'
|
||||
(path[0] == '/' || path.startsWith(":/"))
|
||||
#endif
|
||||
;
|
||||
|
||||
|
@ -108,7 +108,7 @@ void RadioButton::setImage(const QString &path)
|
||||
#ifdef Q_WS_WIN
|
||||
!QDir::isRelativePath(path)
|
||||
#else
|
||||
path[0] == '/'
|
||||
(path[0] == '/' || path.startsWith(":/"))
|
||||
#endif
|
||||
;
|
||||
|
||||
|
@ -110,7 +110,7 @@ void <Name>::setImage(const QString &path)
|
||||
#ifdef Q_WS_WIN
|
||||
!QDir::isRelativePath(path)
|
||||
#else
|
||||
path[0] == '/'
|
||||
(path[0] == '/' || path.startsWith(":/"))
|
||||
#endif
|
||||
;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user