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
|
#ifdef Q_WS_WIN
|
||||||
!QDir::isRelativePath(path)
|
!QDir::isRelativePath(path)
|
||||||
#else
|
#else
|
||||||
path[0] == '/'
|
(path[0] == '/' || path.startsWith(":/"))
|
||||||
#endif
|
#endif
|
||||||
;
|
;
|
||||||
|
|
||||||
|
@ -114,7 +114,7 @@ void Label::setImage(const QString &path)
|
|||||||
#ifdef Q_WS_WIN
|
#ifdef Q_WS_WIN
|
||||||
!QDir::isRelativePath(path)
|
!QDir::isRelativePath(path)
|
||||||
#else
|
#else
|
||||||
path[0] == '/'
|
(path[0] == '/' || path.startsWith(":/"))
|
||||||
#endif
|
#endif
|
||||||
;
|
;
|
||||||
|
|
||||||
|
@ -108,7 +108,7 @@ void PushButton::setImage(const QString &path)
|
|||||||
#ifdef Q_WS_WIN
|
#ifdef Q_WS_WIN
|
||||||
!QDir::isRelativePath(path)
|
!QDir::isRelativePath(path)
|
||||||
#else
|
#else
|
||||||
path[0] == '/'
|
(path[0] == '/' || path.startsWith(":/"))
|
||||||
#endif
|
#endif
|
||||||
;
|
;
|
||||||
|
|
||||||
|
@ -108,7 +108,7 @@ void RadioButton::setImage(const QString &path)
|
|||||||
#ifdef Q_WS_WIN
|
#ifdef Q_WS_WIN
|
||||||
!QDir::isRelativePath(path)
|
!QDir::isRelativePath(path)
|
||||||
#else
|
#else
|
||||||
path[0] == '/'
|
(path[0] == '/' || path.startsWith(":/"))
|
||||||
#endif
|
#endif
|
||||||
;
|
;
|
||||||
|
|
||||||
|
@ -110,7 +110,7 @@ void <Name>::setImage(const QString &path)
|
|||||||
#ifdef Q_WS_WIN
|
#ifdef Q_WS_WIN
|
||||||
!QDir::isRelativePath(path)
|
!QDir::isRelativePath(path)
|
||||||
#else
|
#else
|
||||||
path[0] == '/'
|
(path[0] == '/' || path.startsWith(":/"))
|
||||||
#endif
|
#endif
|
||||||
;
|
;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user