From 04e8ef3f4bf1270e5357e1f06d6e6b3bddfeef44 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Thu, 1 Oct 2015 16:09:07 +0300 Subject: [PATCH] kmix: do not restrict menu entry to KDE only --- kget/ui/transfersview.cpp | 1 + kmix/kmix.desktop | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/kget/ui/transfersview.cpp b/kget/ui/transfersview.cpp index df37932d..28cc50f2 100644 --- a/kget/ui/transfersview.cpp +++ b/kget/ui/transfersview.cpp @@ -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); diff --git a/kmix/kmix.desktop b/kmix/kmix.desktop index 09bd15d3..f8b3480f 100755 --- a/kmix/kmix.desktop +++ b/kmix/kmix.desktop @@ -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 -- 2.11.0