I did not mean to remove MainWindow from main, I meant you shoud change ErrorWindow* ErrorWin to ErrorWindow ErrorWin, because you don’t want a pointer variable, you want an instance, and then you pass a pointer to the instance using as you did.
Consti
Programming and reading.
- 2 Posts
- 97 Comments
Without more code it’s impossible to say what your problem is. Are you expecting a function to be called that isn’t? Use a debugger to go through if so.
First, in your main, you want judt
ErrorWindow ErrorWin;. As it is, you’re taking a pointer to a pointer with the&(also it’s not initialized).Second, does your MainWindow.hpp know the ErrorWindow? You may have to forward declare it (write
class ErrorWindow;at the top, to tell the compiler it exists without saying anything else). If you include the other header files respectively, they include each other, so you get a cycle.
Can you elaborate what exactly you wish to achieve? You could pass a pointer to the instance of one class in the constructor of the other.
Also, I would recommend to make you variables start with lower-case, to distinguish from class names. Makes it easier at a glance.
February, before it was switched over, same as OP. Note also that your screenshot doesn’t match the -10% on Win11 that got OP to make the post in the first place.
Chinese +30%, it’s likely just new users with older OSes (Windows 10?)
Consti@lemmy.worldto
BuyFromEU@feddit.org•Looking For An EU Smart Home Provider - Especially Smart Zigbee Interior Blinds and LightsEnglish
1·27 days agoShelly is as far as I know from EU, but I don’t know where they produce the devices, might want to look into that
64-bit machines are not able to run 8-bit and 16-bit code while 64-bit mode is active. You can install a 32-bit OS, where this works, but if you want the advantage of 64 bits, you lose those very old (DOS and pre-DOS) programs.
Consti@lemmy.worldto
Jellyfin: The Free Software Media System@lemmy.ml•Change the language of plot?English
7·1 month agoIf I remember right, you have to change the language, hit save, then refresh the metadata from the menu in the three dots.
Easiest will be to change the language of the entire library though, then they should be automatically correct. I keep two separate libraries, per language.
You posted the first picture twice, here is the proper second one:

I don’t know of a distro that does.
You can start remmina from the terminal, it should spit out an error. I believe, you need to install additional libraries for full rdp support, but it should tell you
That looks like a loading indicator of your client, especially if the gradient of the box is moving
Consti@lemmy.worldto
Selfhosted@lemmy.world•Free and open source Audiobookshelf Android clientEnglish
5·2 months agoClick on the release (green thingy after description) and download apk
Consti@lemmy.worldto
Mildly Infuriating@lemmy.world•Plastic hinges on modern headphonesEnglish
17·2 months agoThe good ones are 30 years old. The one they needed to fix is the sony one, which was not specified how old but “modern” implies not very.
Consti@lemmy.worldto
Lemmy Shitpost@lemmy.world•Great price Netflix. I wil get right on that /s
15·2 months agoI says TRY, not dollar…
Consti@lemmy.worldto
Selfhosted@lemmy.world•Notice: failed container health check for example.orgEnglish
7·2 months agoThe certificate of example.com refreshed just a few hours ago, if verification fails on your system check your clock (do time and timezone match?)
Schon von shebang gehört?
E:
!/usr/bin/env python3in the erste zeile, executable machen mitchmod +x <file>und geht
Consti@lemmy.worldto
Linux Questions@lemmy.zip•Resize root partition in Debian VMEnglish
1·3 months agoSince you’re using docker, also ensure your containers are set to rotate log files. By default, docker does not enable this, but you can change the defaults. Otherwise you can quickly get gigabytes of logs that eat up space.
Pretty certain it says “fags”








VBA can be used in place of scripts on Windows through the use of
wscript.exe, so you might want to find any small thing you want to automate and figure out how to do that