diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2012-02-03 01:04:00 +0200 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2012-02-03 01:04:00 +0200 |
commit | 1fbe925bcd490d3f06a65f3d33926449a2e26b39 (patch) | |
tree | c851bfd4829aeebedc1a65fce569177c9c679d31 /client/ProxyClientApp.cpp | |
parent | ff6d8dca662e39f35be645883749d32173f9b2c6 (diff) | |
parent | 97dbcdd63862d8daff8dda5420d41500d0bf3df3 (diff) |
Merge branch 'master' of ssh://sss.chaoslab.ru//home/private_git/proxy_ui
Diffstat (limited to 'client/ProxyClientApp.cpp')
-rw-r--r-- | client/ProxyClientApp.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/client/ProxyClientApp.cpp b/client/ProxyClientApp.cpp index b55c33c..0ba813c 100644 --- a/client/ProxyClientApp.cpp +++ b/client/ProxyClientApp.cpp @@ -81,15 +81,8 @@ void ProxyClientApp::trayActivated(QSystemTrayIcon::ActivationReason reason) void ProxyClientApp::showProxyDialog() { Logger::Trace("Creating proxy dialog.\n"); - QDesktopWidget* screen = QApplication::desktop(); - QRect availScreenRect = screen->availableGeometry(); - - Logger::Debug("Available screen size WxH = %d x %d\n", availScreenRect.width(), availScreenRect.height()); - ProxyDialog *dialog = new ProxyDialog(); dialog->show(); - dialog->move(availScreenRect.width() - dialog->frameSize().width(), - availScreenRect.height() - dialog->frameSize().height()); } void ProxyClientApp::configUpdated() |