[Pkg-owncloud-commits] [owncloud-client] 15/89: Avoid horizontal scrollbar

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat Dec 14 01:02:29 UTC 2013


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit a0d1dc8807f18a01f3a716fdaefe164fa089ce37
Author: Daniel Molkentin <danimo at owncloud.com>
Date:   Thu Dec 5 16:40:37 2013 +0100

    Avoid horizontal scrollbar
    
    ...by intproducing more tooltips and set eliding to center elide
    You can still force a scrollbar, but it's not there by default
    and the center eliding makes pathes more meaningful
    
    Fixes #1213
---
 src/mirall/protocolwidget.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/mirall/protocolwidget.cpp b/src/mirall/protocolwidget.cpp
index 1d6698a..673dcee 100644
--- a/src/mirall/protocolwidget.cpp
+++ b/src/mirall/protocolwidget.cpp
@@ -55,6 +55,7 @@ ProtocolWidget::ProtocolWidget(QWidget *parent) :
     _ui->_treeWidget->setColumnWidth(1, 180);
     _ui->_treeWidget->setColumnCount(5);
     _ui->_treeWidget->setRootIsDecorated(false);
+    _ui->_treeWidget->setTextElideMode(Qt::ElideMiddle);
 
     connect(this, SIGNAL(guiLog(QString,QString)), Logger::instance(), SIGNAL(guiLog(QString,QString)));
 
@@ -219,6 +220,7 @@ QTreeWidgetItem *ProtocolWidget::createProblemTreewidgetItem( const Progress::Sy
         item->setIcon(0, Theme::instance()->syncStateIcon(SyncResult::Error, true));
     }
     item->setToolTip(0, longTimeStr);
+    item->setToolTip(1, problem.current_file);
     item->setToolTip(3, errMsg );
 
     return item;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list