[Kst] branches/work/kst/portto4/kst/src/libkstapp

Peter Kümmel syntheticpp at gmx.net
Sun Jun 2 13:03:58 UTC 2013


On 02.06.2013 12:12, Nicolas Brisset wrote:
> Hum....
> It seems that I've missed one case: when loading a .kst file from the command line, it gets added without the full path.
> I just can't figure how, though...
> Peter, do you have an idea? Do you see a way to do it without going through MainWindow::updateRecentFiles(), where I added the code to add the directory to a relative path?
>

Search for QSettings settings("Kst2"), should give you all places where the list is manipulated.

> Nicolas
>
> ----- Mail original -----
>> De: "Nicolas Brisset" <nicolas.brisset at eurocopter.com>
>> À: kde-commits at kde.org
>> Cc: kst at kde.org
>> Envoyé: Samedi 1 Juin 2013 23:11:52
>> Objet: [Kst] branches/work/kst/portto4/kst/src/libkstapp
>>
>> SVN commit 1356751 by brisset:
>>
>> Always use the absolute path to recent files in the menus, otherwise
>> they're not reusable between sessions
>> if kst2 is not started from the same directory. This should
>> incidentally also fix the problem that we could
>> have duplicate entries at the bottom of the File menu since only the
>> file name was shown and the relative
>> path was tested for duplicates.
>> Also restore the application directory after loading.
>>
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
>



More information about the Kst mailing list