From: <su...@us...> - 2008-12-12 14:19:07
|
Revision: 3117 http://tora.svn.sourceforge.net/tora/?rev=3117&view=rev Author: subik Date: 2008-12-12 14:19:03 +0000 (Fri, 12 Dec 2008) Log Message: ----------- no need to store these values (it's in qsettings now) Modified Paths: -------------- trunk/tora/src/tomain.cpp Modified: trunk/tora/src/tomain.cpp =================================================================== --- trunk/tora/src/tomain.cpp 2008-12-12 14:10:35 UTC (rev 3116) +++ trunk/tora/src/tomain.cpp 2008-12-12 14:19:03 UTC (rev 3117) @@ -1667,19 +1667,22 @@ { try { - if (isMaximized()) - data[prefix + ":State"] = QString::fromLatin1("Maximized"); - else if (isMinimized()) - data[prefix + ":State"] = QString::fromLatin1("Minimized"); - else - { - QRect rect = geometry(); - data[prefix + ":X"] = QString::number(rect.x()); - data[prefix + ":Y"] = QString::number(rect.y()); - data[prefix + ":Width"] = QString::number(rect.width()); - data[prefix + ":Height"] = QString::number(rect.height()); - } +#if 0 +// No need to do it. We are storing it in QSettings now +// if (isMaximized()) +// data[prefix + ":State"] = QString::fromLatin1("Maximized"); +// else if (isMinimized()) +// data[prefix + ":State"] = QString::fromLatin1("Minimized"); +// else +// { +// QRect rect = geometry(); +// data[prefix + ":X"] = QString::number(rect.x()); +// data[prefix + ":Y"] = QString::number(rect.y()); +// data[prefix + ":Width"] = QString::number(rect.width()); +// data[prefix + ":Height"] = QString::number(rect.height()); +// } +#endif int id = 1; std::map<toConnection *, int> connMap; { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |