Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118335 - Atlantik does not close
Summary: Atlantik does not close
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-08 16:05 UTC by Mark Felder
Modified: 2006-02-04 03:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Felder 2006-01-08 16:05:55 UTC
Atlantik does not close. The following is an excerpt from the KDE bug list. With a simple patch we can have it working for gentoo users, without having to wait for KDE 3.5.1 (which I think is kinda silly).


This will be on KDE 3.5.1
Stephan you should be really, really, really more careful when doing this substituions ;-(
BUG: 112041


 M  +1 -1      atlantik.cpp  


--- branches/KDE/3.5/kdegames/atlantik/client/atlantik.cpp #484215:484216
 at  at  -838,7 +838,7  at  at
  Game *gameSelf = m_atlanticCore->gameSelf();
  Player *playerSelf = m_atlanticCore->playerSelf();
 
- int result = KMessageBox::Yes;
+ int result = KMessageBox::Continue;
  if ( gameSelf && !playerSelf->isBankrupt() && m_runningGame )
  result = KMessageBox::warningContinueCancel( this, i18n("You are currently part of an active game. Are you sure you want to close Atlantik? If you do, you forfeit the game."), i18n("Close & Forfeit?"), i18n("Close && Forfeit") ); 







I've tested this fix manually and it does indeed work. A simple patch and bump up to -r1 would be nice. Thanks!
Comment 1 Dominik Stadler (RETIRED) gentoo-dev 2006-02-04 03:01:16 UTC
Seems nobody found time to put this patch in before the bugfix-release. Version 3.5.1 of kde is available in unstable now, I will therefore close this as fixed. Please reopen if this is still a problem.