[rkward-cvs] SF.net SVN: rkward:[4086] trunk/rkward/rkward/dialogs/rkloadlibsdialog.cpp
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Fri Dec 9 18:35:27 UTC 2011
Revision: 4086
http://rkward.svn.sourceforge.net/rkward/?rev=4086&view=rev
Author: tfry
Date: 2011-12-09 18:35:26 +0000 (Fri, 09 Dec 2011)
Log Message:
-----------
Revert r4085
Revision Links:
--------------
http://rkward.svn.sourceforge.net/rkward/?rev=4085&view=rev
Modified Paths:
--------------
trunk/rkward/rkward/dialogs/rkloadlibsdialog.cpp
Modified: trunk/rkward/rkward/dialogs/rkloadlibsdialog.cpp
===================================================================
--- trunk/rkward/rkward/dialogs/rkloadlibsdialog.cpp 2011-12-09 18:08:30 UTC (rev 4085)
+++ trunk/rkward/rkward/dialogs/rkloadlibsdialog.cpp 2011-12-09 18:35:26 UTC (rev 4086)
@@ -472,7 +472,7 @@
item->setText (2, version.at (i));
item->setText (3, libpath.at (i));
}
- installed_view->setColumnWidth (0, installed_view->iconSize ().width ());
+ installed_view->resizeColumnToContents (0);
installed_view->setSortingEnabled (true);
installed_view->sortItems (0, Qt::AscendingOrder);
} else if (command->getFlags () == GET_LOADED_PACKAGES) {
@@ -1000,6 +1000,7 @@
if (role == Qt::DisplayRole) return QVariant (i18n ("Remove"));
}
} else if (col == EnhancesRKWard) {
+ if (role == Qt::DisplayRole) return QVariant (QString (" ")); // must have a placeholder, here, or Qt will collapse the column
if ((role == Qt::DecorationRole) || (role == Qt::UserRole)) {
bool enhance_rk;
if (prow == InstalledPackages) enhance_rk = enhance_rk_in_installed.value (irow);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the rkward-tracker
mailing list