Don't let the textscroller in shaded mode use more space then available.
This commit is contained in:
parent
94404d0bc1
commit
d88f3b273c
3 changed files with 5 additions and 4 deletions
3
Skin.cpp
3
Skin.cpp
|
@ -119,7 +119,8 @@ Skin::getPixmap (QString f, QDir dir)
|
|||
QFileInfoList list = dir.entryInfoList();
|
||||
for (int i = 0; i < list.size(); ++i) {
|
||||
QFileInfo fileInfo = list.at(i);
|
||||
if (fileInfo.fileName().toLower() == f) {
|
||||
QString fname = fileInfo.fileName().toLower();
|
||||
if (fname.section(".", 0, 0) == f) {
|
||||
return QPixmap (fileInfo.filePath());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue