Changeset 5900

Show
Ignore:
Timestamp:
12/02/07 06:17:51 (12 months ago)
Author:
flynd
Message:

Don't set asterisk in cached mainwin title. This should fix #1598.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/qt-gui_qt4/src/core/mainwin.cpp

    r5892 r5900  
    651651          myCaption.replace("|", tr("Error! No owner set")); 
    652652        } 
     653        QString caption = myCaption; 
    653654        if (windowTitle()[0] == '*') 
    654           myCaption.prepend("* "); 
    655  
    656         setWindowTitle(myCaption); 
     655          caption.prepend("* "); 
     656 
     657        setWindowTitle(caption); 
    657658        break; 
    658659      }