OSDN Git Service

kmix: do not restrict menu entry to KDE only
authorIvailo Monev <xakepa10@gmail.com>
Thu, 1 Oct 2015 13:09:07 +0000 (16:09 +0300)
committerIvailo Monev <xakepa10@gmail.com>
Thu, 1 Oct 2015 13:09:07 +0000 (16:09 +0300)
kget/ui/transfersview.cpp
kmix/kmix.desktop

index df37932..28cc50f 100644 (file)
@@ -118,6 +118,7 @@ void TransfersView::rowsInserted(const QModelIndex & parent, int start, int end)
     QTreeView::rowsInserted(parent, start, end);
 
     // sadly it has to be done again, copy from setModel() above
+    // TODO: do it only when the model count was 0, i.e. on first item insertation
     QByteArray loadedState = QByteArray::fromBase64(Settings::headerState().toAscii());
     if (loadedState.isEmpty()) {
         setColumnWidth(0 , 230);
index 09bd15d..f8b3480 100755 (executable)
@@ -1,7 +1,6 @@
 [Desktop Entry]
 Exec=kmix --icon '%i' --caption '%c'
 X-DocPath=kmix/index.html
-OnlyShowIn=KDE;
 Type=Application
 Terminal=false
 Icon=kmix