Changeset View
Changeset View
Standalone View
Standalone View
krusader/Panel/PanelView/krinterbriefview.cpp
Context not available. | |||||
48 | #include "../FileSystem/krpermhandler.h" | 48 | #include "../FileSystem/krpermhandler.h" | ||
---|---|---|---|---|---|
49 | #include "../defaults.h" | 49 | #include "../defaults.h" | ||
50 | #include "../GUI/krstyleproxy.h" | 50 | #include "../GUI/krstyleproxy.h" | ||
51 | #include "../compat.h" | ||||
51 | 52 | | |||
52 | #define MAX_BRIEF_COLS 5 | 53 | #define MAX_BRIEF_COLS 5 | ||
53 | 54 | | |||
Context not available. | |||||
545 | { | 546 | { | ||
546 | QString text = index.data(Qt::DisplayRole).toString(); | 547 | QString text = index.data(Qt::DisplayRole).toString(); | ||
547 | 548 | | |||
548 | int textWidth = QFontMetrics(_viewFont).width(text); | 549 | int textWidth = QFontMetrics(_viewFont).QFONTMETRICS_WIDTH(text); | ||
549 | 550 | | |||
550 | const int textMargin = QApplication::style()->pixelMetric(QStyle::PM_FocusFrameHMargin) + 1; | 551 | const int textMargin = QApplication::style()->pixelMetric(QStyle::PM_FocusFrameHMargin) + 1; | ||
551 | textWidth += 2 * textMargin; | 552 | textWidth += 2 * textMargin; | ||
Context not available. |