fix a compil issue.
This commit is contained in:
parent
143d580596
commit
319908b7f4
|
@ -835,7 +835,7 @@ std::string TOOL_MANAGER::GetClipboard() const
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
KIGFX::VC_SETTINGS TOOL_MANAGER::GetCurrentToolVC() const
|
const KIGFX::VC_SETTINGS& TOOL_MANAGER::GetCurrentToolVC() const
|
||||||
{
|
{
|
||||||
if( TOOL_STATE* active = GetCurrentToolState() )
|
if( TOOL_STATE* active = GetCurrentToolState() )
|
||||||
return active->vcSettings;
|
return active->vcSettings;
|
||||||
|
|
|
@ -370,7 +370,7 @@ public:
|
||||||
* Returns the view controls settings for the current tool or the general settings if there is
|
* Returns the view controls settings for the current tool or the general settings if there is
|
||||||
* no active tool.
|
* no active tool.
|
||||||
*/
|
*/
|
||||||
KIGFX::VC_SETTINGS& GetCurrentToolVC() const;
|
const KIGFX::VC_SETTINGS& GetCurrentToolVC() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
typedef std::pair<TOOL_EVENT_LIST, TOOL_STATE_FUNC> TRANSITION;
|
typedef std::pair<TOOL_EVENT_LIST, TOOL_STATE_FUNC> TRANSITION;
|
||||||
|
|
Loading…
Reference in New Issue