Changeset View
Changeset View
Standalone View
Standalone View
krusader/MountMan/kmountmangui.cpp
Context not available. | |||||
26 | #include "../Dialogs/krspecialwidgets.h" | 26 | #include "../Dialogs/krspecialwidgets.h" | ||
---|---|---|---|---|---|
27 | #include "../defaults.h" | 27 | #include "../defaults.h" | ||
28 | #include "../FileSystem/filesystem.h" | 28 | #include "../FileSystem/filesystem.h" | ||
29 | #include "../compat.h" | ||||
29 | 30 | | |||
30 | // QtCore | 31 | // QtCore | ||
31 | #include <QCryptographicHash> | 32 | #include <QCryptographicHash> | ||
Context not available. | |||||
169 | if (grp.hasKey("Last State")) | 170 | if (grp.hasKey("Last State")) | ||
170 | mountList->header()->restoreState(grp.readEntry("Last State", QByteArray())); | 171 | mountList->header()->restoreState(grp.readEntry("Last State", QByteArray())); | ||
171 | else { | 172 | else { | ||
172 | int i = QFontMetrics(mountList->font()).width("W"); | 173 | int i = QFontMetrics(mountList->font()).QFONTMETRICS_WIDTH("W"); | ||
173 | int j = QFontMetrics(mountList->font()).width("0"); | 174 | int j = QFontMetrics(mountList->font()).QFONTMETRICS_WIDTH("0"); | ||
174 | j = (i > j ? i : j); | 175 | j = (i > j ? i : j); | ||
175 | 176 | | |||
176 | mountList->setColumnWidth(0, j*8); | 177 | mountList->setColumnWidth(0, j*8); | ||
Context not available. |