summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/rbutilqt.pro
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2011-07-16 22:08:03 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2011-07-16 22:08:03 +0000
commit99408dd45ea4243d7be88d5d3c27a7267fdef6f8 (patch)
treee474d37b9fab2c61516e24c06022c5d8c4bb94f1 /rbutil/rbutilqt/rbutilqt.pro
parent94bc289cd05ad3dccd8fafeeb3b725ef9a8c1446 (diff)
downloadrockbox-99408dd45ea4243d7be88d5d3c27a7267fdef6f8.tar.gz
rockbox-99408dd45ea4243d7be88d5d3c27a7267fdef6f8.zip
Add custom delegate for showing the mountpoint combo box entries.
The delegate will be used for the dropdown list and show both mountpoint (left aligned) and label / size information (right aligned). This improves readability compared to the previous implementation. Also, the mountpoint itself is now the text of the combo box and the additional information is in the Qt::UserRole to avoid having to handle a user entered mountpoint separately (since previously the mountpoint was stored in Qt::UserRole, but an edited item would have the value in Qt::TextRole). Disable editing the combo box entry for release builds, it shouldn't be needed by users. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30144 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/rbutilqt.pro')
-rw-r--r--rbutil/rbutilqt/rbutilqt.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.pro b/rbutil/rbutilqt/rbutilqt.pro
index c2e3c93f13..7186c8b7e5 100644
--- a/rbutil/rbutilqt/rbutilqt.pro
+++ b/rbutil/rbutilqt/rbutilqt.pro
@@ -132,6 +132,7 @@ QT += network
dbg {
CONFIG += debug thread qt warn_on
DEFINES -= QT_NO_DEBUG_OUTPUT
+ DEFINES += DBG
message("debug")
}
!dbg {