diff options
| author | Rafael Fernández López <[email protected]> | 2007-09-17 04:16:29 +0000 |
|---|---|---|
| committer | Rafael Fernández López <[email protected]> | 2007-09-17 04:16:29 +0000 |
| commit | b7e3077a9d2b6006b9b8edb6b63c42bddb2bd2cc (patch) | |
| tree | dc9eff5f23d50f7e1dfdf2b210bd7a70abd4695b /src/dolphincategorydrawer.cpp | |
| parent | c8072005fada01d772595ec64adca449134f421e (diff) | |
Forgot to adapt to RTL the default category drawer (KCategoryDrawer), since right now it is fully overriden by dolphincategorydrawer. Unneeded commented code
removed from the latter
svn path=/trunk/KDE/kdebase/apps/; revision=713320
Diffstat (limited to 'src/dolphincategorydrawer.cpp')
| -rw-r--r-- | src/dolphincategorydrawer.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/dolphincategorydrawer.cpp b/src/dolphincategorydrawer.cpp index 2479f2755..099167b61 100644 --- a/src/dolphincategorydrawer.cpp +++ b/src/dolphincategorydrawer.cpp @@ -211,14 +211,12 @@ void DolphinCategoryDrawer::drawCategory(const QModelIndex &index, int sortRole, if (option.direction == Qt::RightToLeft) { starRect.setLeft(starRect.left() + (iconSize / 2) /* separator between stars */); - //starRect.setRight(starRect.right() + (iconSize / 2) /* separator between stars */); } starRect.setTop(option.rect.top() + (option.rect.height() / 2) - (iconSize / 4)); starRect.setSize(QSize(iconSize / 2, iconSize / 2)); painter->drawPixmap(starRect, smallPixmap); starRect.setTop(opt.rect.top() + (option.rect.height() / 2) - (iconSize / 2)); - //starRect.setSize(QSize(iconSize / 2, iconSize / 2)); if (option.direction == Qt::LeftToRight) { |
