mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-17 13:50:28 -04:00
Renamed onionshare.helpers module to onionshare.common
This commit is contained in:
parent
72e862124d
commit
6b35a44d41
19 changed files with 74 additions and 75 deletions
|
@ -19,7 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
"""
|
||||
from PyQt5 import QtCore, QtWidgets, QtGui
|
||||
|
||||
from onionshare import helpers
|
||||
from onionshare import common
|
||||
|
||||
class Alert(QtWidgets.QMessageBox):
|
||||
"""
|
||||
|
@ -28,7 +28,7 @@ class Alert(QtWidgets.QMessageBox):
|
|||
def __init__(self, message, icon=QtWidgets.QMessageBox.NoIcon, buttons=QtWidgets.QMessageBox.Ok, autostart=True):
|
||||
super(Alert, self).__init__(None)
|
||||
self.setWindowTitle("OnionShare")
|
||||
self.setWindowIcon(QtGui.QIcon(helpers.get_resource_path('images/logo.png')))
|
||||
self.setWindowIcon(QtGui.QIcon(common.get_resource_path('images/logo.png')))
|
||||
self.setText(message)
|
||||
self.setIcon(icon)
|
||||
self.setStandardButtons(buttons)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue