Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Brainstorm
  4. Recover source after power cut
Qt 6.11 is out! See what's new in the release blog

Recover source after power cut

Scheduled Pinned Locked Moved Unsolved Brainstorm
3 Posts 2 Posters 1.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • tomyT Offline
    tomyT Offline
    tomy
    wrote on last edited by
    #1

    OW Disaster. I was working on My_First_Calculator.cpp here and suddenly electricity was cut. After a little while when I reopened the program, nothing was remained in My_First_Calculator.cpp. Everything was vanished.
    How to recover it please?
    I remember that I would press ctrl+s in each a few minutes.

    K 1 Reply Last reply
    0
    • tomyT tomy

      OW Disaster. I was working on My_First_Calculator.cpp here and suddenly electricity was cut. After a little while when I reopened the program, nothing was remained in My_First_Calculator.cpp. Everything was vanished.
      How to recover it please?
      I remember that I would press ctrl+s in each a few minutes.

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @tomy

      Checkout the folder where your source is located. There should be a file "My_First_Calculator.cpp.*" with a "funny" extension. Those files are holding the source while you have not pressed the saving sequence. I guess the file is being removed in the process of saving.

      If the last thing you have done was ctrl+s there was an additional problem causing the deletion of all content in the file.

      Vote the answer(s) that helped you to solve your issue(s)

      tomyT 1 Reply Last reply
      0
      • K koahnig

        @tomy

        Checkout the folder where your source is located. There should be a file "My_First_Calculator.cpp.*" with a "funny" extension. Those files are holding the source while you have not pressed the saving sequence. I guess the file is being removed in the process of saving.

        If the last thing you have done was ctrl+s there was an additional problem causing the deletion of all content in the file.

        tomyT Offline
        tomyT Offline
        tomy
        wrote on last edited by
        #3

        @koahnig
        No, after pressing ctrl +s I worked for a little while and then power was cut. Thanks.
        I also check that folder. There is My_First_Calculator with cpp extension but not any other extensions.
        Maybe it's gone!

        https://pictub.club/image/se9WOY

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved