!UbCmIlGTHNIgIRZcpt:nheko.im

nheko

995 Members
0.8.1 out now! https://github.com/Nheko-Reborn/nheko/releases/tag/v0.8.1 Discussion about nheko, the desktop client for Matrix :  https://github.com/Nheko-Reborn/nheko Latest Nightlies: https://matrix-static.neko.dev/room/!TshDrgpBNBDmfDeEGN:neko.dev/317 Servers

Load older messages


SenderMessageTime
21 Nov 2020
@lorendb:matrix.orgLorenDBTimelineViewManager.cpp23:35:25
@lorendb:matrix.orgLorenDBLines 140-14123:35:35
@deepbluev7:neko.devNico|dev Those are imported via import im.nheko.EmojiModel, I think 23:36:07
@deepbluev7:neko.devNico|devIf you want to import via im.nheko, you want to use the one without .NhekoSettings23:36:48
@lorendb:matrix.orgLorenDBOK, that makes sense23:37:02
@deepbluev7:neko.devNico|devAnd I think that is the right solution, since the Settings stuff is used everywhere23:37:04
@lorendb:matrix.orgLorenDBYeah, I see23:37:17
@lorendb:matrix.orgLorenDB Now to figure out where all the settings are accessed in QML. Is that going to be using an object of type Settings in QML or is that not explicitly mentioned? 23:38:38
@deepbluev7:neko.devNico|dev
In reply to @lorendb:matrix.org
Now to figure out where all the settings are accessed in QML. Is that going to be using an object of type Settings in QML or is that not explicitly mentioned?
It uses Settings.settingname
23:39:15
@lorendb:matrix.orgLorenDBAh23:39:23
@lorendb:matrix.orgLorenDBI think I did something wrong, the settings aren't actually loading. QML just complains about trying to assign an undefined to a bool/double/whatever.23:51:08
@deepbluev7:neko.devNico|devYeahm sounds like it23:51:33
@deepbluev7:neko.devNico|devYou probably want to register an instance instead23:51:42
@deepbluev7:neko.devNico|devInstead of a type23:51:51
@lorendb:matrix.orgLorenDB

As in create a field:

NhekoSettings {
	id: ns
	...
}

?

23:52:46
@deepbluev7:neko.devNico|devNo, as in how the current settings are registered :D23:53:07
@lorendb:matrix.orgLorenDBI'm confused23:54:06
@lorendb:matrix.orgLorenDBDon't forget that I'm not a QML expert23:54:22
@deepbluev7:neko.devNico|devYou are registering a type. You can't access non static members of a type. Instead you should register an instance23:55:07
@lorendb:matrix.orgLorenDBInstance or interface?23:55:51
@deepbluev7:neko.devNico|devWhat I said23:56:03
@lorendb:matrix.orgLorenDBOk, because there wasn't any qmlRegisterInstance function. Sorry, but just double-checking23:56:29
@deepbluev7:neko.devNico|devclipboard.png
Download clipboard.png
23:57:27
@lorendb:matrix.orgLorenDBOh, ok23:57:40
@deepbluev7:neko.devNico|devThere is a register singleton instance, but we can't use that, because of Qt version, so that is an implementation of that function :323:57:57
22 Nov 2020
@justin.zobel:kde.orgJustinZIs it possible to get one of those floating buttons when you're scrolled up that scrolls to the bottom?00:00:34
@deepbluev7:neko.devNico|devYeah00:00:53
@deepbluev7:neko.devNico|devIt is00:00:56
@deepbluev7:neko.devNico|devSomeone just needs to add it :D00:01:03
@justin.zobel:kde.orgJustinZ😁00:01:17

Show newer messages


Back to Room ListRoom Version: 5